configitems: register the 'badserver.closebeforeaccept' config
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 30 Jun 2017 03:28:02 +0200
changeset 33196 c077eac329e2
parent 33195 cbb50fd830ea
child 33197 5d8942dbe49e
configitems: register the 'badserver.closebeforeaccept' config
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):