Handle un-expected closing of pipelined connections better.

If during a pipelined connection, server closes its socket,
but http client has more requests to send, ibrowse will
detect that when it sends next request and throw
{error, connection_closing}.

Handle that error better, by closing the socket explicitly
and retrying the pipelined request that failed.

COUCHDB-2833
1 file changed
tree: ec0bcfd841b8a6df7797a4c855a9b1845ab549dc
  1. priv/
  2. src/
  3. test/
  4. .gitignore
  5. LICENSE