File tree Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 308308* Work log
309309  Log of merges/issues/work that's gone in so I know what to put in
310310  the changelog for the next release
311+ ** 2013-07-18
312+    - merged https://github.com/dakrone/clj-http/pull/146 to correctly
313+      reference parameter names
311314** Released 0.7.5
312315** 2013-07-10
313316   - Only redirect if a "location" header is actually, present, avoiding an
Original file line number Diff line number Diff line change 131131                        k (cond 
132132                           (and  (not=  ClientPNames/CONN_MANAGER_TIMEOUT k)
133133                                (instance?  Long v))
134-                                        (Integer.  ^Long v)
135-                              true  v)))))
134+                            (Integer.  ^Long v)
135+                            true  v)))))
136136
137137
138138(defn-  coerce-body-entity 
224224       (proxy  [HttpRequestRetryHandler] []
225225         (retryRequest  [e cnt context]
226226           (retry-handler  e cnt context)))))
227-     (add-client-params!  http-client
228-                         ; ; merge in map of specified timeouts, to
229-                         ; ; support backward compatiblity.
230-                         (merge  {CoreConnectionPNames/SO_TIMEOUT socket-timeout
231-                                 CoreConnectionPNames/CONNECTION_TIMEOUT conn-timeout}
232-                                client-params))
227+     (add-client-params! 
228+      http-client
229+      ; ; merge in map of specified timeouts, to
230+      ; ; support backward compatiblity.
231+      (merge  {CoreConnectionPNames/SO_TIMEOUT socket-timeout
232+              CoreConnectionPNames/CONNECTION_TIMEOUT conn-timeout}
233+             client-params))
233234
234235    (when-let  [[user pass] digest-auth]
235236      (.setCredentials 
Original file line number Diff line number Diff line change 438438
439439; ; Regression, get notified if something changes
440440(deftest  ^{:integration  true } t-known-client-params-are-unchanged 
441-   (let  [params [
442-         " http.socket.timeout" 
443-         " http.connection.timeout" 
444-         " http.protocol.version" 
445-         " http.useragent" 
446-         " http.conn-manager.timeout" 
447-         " http.protocol.allow-circular-redirects" 
441+   (let  [params [" http.socket.timeout" 
442+                 " http.connection.timeout" 
443+                 CoreConnectionPNames/CONNECTION_TIMEOUT
444+                 " http.protocol.version" 
445+                 " http.useragent" 
446+                 " http.conn-manager.timeout" 
447+                 " http.protocol.allow-circular-redirects" 
448+                 ClientPNames/ALLOW_CIRCULAR_REDIRECTS]]
448449    (doseq  [[plaintext constant] (partition  2  params)]
449450      (is  (=  plaintext constant)))))
450451
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments