dakrone/clj-http — pull request #95 by ieure (2012-09-19 17:47:19+00:00)
Title: Allow setting arbitrary params on the client.

We're using `clj-http` internally, and have some options we'd like to tune which `clj-http` doesn't support. In particular, `http.tcp.nodelay`, `http.socket.sendbuffer`, and `http.socket.receivebuffer`.

This patch:

- Adds support for setting arbitrary params by passing a map to `add-client-params!`
- Maintains backwards compatibility for `:socket-timeout` and `:connect-timeout` keywords in `clj-http.core/request` by using these values (if present) as defaults.