HomePhabricator

Make RPC tests cope with server-side timeout between requests
ddf98d1d8434Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Make RPC tests cope with server-side timeout between requests

Python's httplib does not graciously handle disconnections from the http server, resulting in BadStatusLine errors.
See https://bugs.python.org/issue3566 "httplib persistent connections violate MUST in RFC2616 sec 8.1.4."

This was fixed in Python 3.5.

Work around it for now.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Sep 19 2015, 12:12
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING2190ea6c4e7f: rpc: Split option -rpctimeout into -rpcservertimeout and -rpcclienttimeout
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rSTAGINGddf98d1d8434: Make RPC tests cope with server-side timeout between requests (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Sep 21 2015, 15:15