Mercurial > hg
changeset 33194:c077eac329e2
configitems: register the 'badserver.closebeforeaccept' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:28:02 +0200 |
parents | cbb50fd830ea |
children | 5d8942dbe49e |
files | tests/badserverext.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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):