a | b | |
---|
| 0 | + | Index: src/couchdb/couch_rep_att.erl |
---|
| 0 | + | =================================================================== |
---|
| 0 | + | --- src/couchdb/couch_rep_att.erl (revision 892491) |
---|
| 0 | + | +++ src/couchdb/couch_rep_att.erl (working copy) |
---|
| 0 | + | @@ -79,7 +79,13 @@ |
---|
| 0 | + | ReqId; |
---|
| 0 | + | {ok, NewReqId} -> |
---|
| 0 | + | NewReqId |
---|
| 0 | + | - end |
---|
| 0 | + | + end; |
---|
| 0 | + | + {ibrowse_async_response, ReqId, {error, Err}} -> |
---|
| 0 | + | + ?LOG_ERROR("~p error for ~p, retrying", [Err, Req#http_db.resource]), |
---|
| 0 | + | + start_http_request(Req); |
---|
| 0 | + | + after 10000 -> |
---|
| 0 | + | + ?LOG_ERROR("request for ~p stalled, retrying", [Req#http_db.resource]), |
---|
| 0 | + | + start_http_request(Req) |
---|
| 0 | + | end. |
---|
| 0 | + | |
---|
| 0 | + | validate_headers(_Req, 200, _Headers) -> |
---|
... | |
---|