# HG changeset patch # User Pierre-Yves David # Date 1498786082 -7200 # Node ID c077eac329e26a4ca7da8b80071ba9161994bcfe # Parent cbb50fd830ea62e7139069978038241d36132934 configitems: register the 'badserver.closebeforeaccept' config diff -r cbb50fd830ea -r c077eac329e2 tests/badserverext.py --- a/tests/badserverext.py Fri Jun 30 03:27:54 2017 +0200 +++ b/tests/badserverext.py Fri Jun 30 03:28:02 2017 +0200 @@ -53,6 +53,9 @@ configitem('badserver', 'closeaftersendbytes', default=0, ) +configitem('badserver', 'closebeforeaccept', + default=False, +) # We can't adjust __class__ on a socket instance. So we define a proxy type. class socketproxy(object):