Skip to content
Browse files

Add note about shutting down connection manager.

  • Loading branch information...
1 parent 7c723bc commit 69c271bec040b8103d506074d25319d15c078f0f Richard Newman committed Jul 13, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/com/twinql/clojure/http.clj
View
3 src/com/twinql/clojure/http.clj
@@ -111,7 +111,10 @@
:response http-response
:headers (iterator-seq (.headerIterator http-response))}]
+ ;; I don't know if it's actually a good thing to do this.
+ ;(.. http-client getConnectionManager closeExpiredConnections)
(.. http-client getConnectionManager shutdown)
+
response))))
(defn- adding-headers! [#^AbstractHttpMessage verb headers]

0 comments on commit 69c271b

Please sign in to comment.
Something went wrong with that request. Please try again.