GitHub user nickva opened a pull request:
https://github.com/apache/couchdb-couch-replicator/pull/19
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
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nickva/couchdb-couch-replicator
2833-handle-unexpected-connection-close
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-replicator/pull/19.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #19
----
commit 85d62d1e2b72250c329b4b10db4df1231e647933
Author: Nick Vatamaniuc <[email protected]>
Date: 2015-10-02T13:55:42Z
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
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---