mmcgrana/clj-http — pull request #10 by jestan (2011-10-12 08:31:52+00:00)
Title: http connection pooling

Hi Mark,
I have enable http connection pooling by providing a binding with connection manager + http parameters. Please not that, existing functionality was not affected, since default binding is still using SingleClientConnectionManager.

This new feature can be used by wrapping the http call with "with-connection-pool" macro

for example :

```clojure
(defonce my-pool-ctx
{:manager my-conn-mgr
:params my-conn-params
:connection-header "keep-alive"
:reuse-strategy (DefaultConnectionReuseStrategy.)
:keep-alive-strategy (DefaultConnectionKeepAliveStrategy.)})

(with-connection-pool my-pool-ctx
(client/request
{:method :get
:url "http://myserver.com/query"}))
```

looking forward for your feedback.

Jestan Nirojan