Commit 10d3d881 authored by Sam Rushing's avatar Sam Rushing

tlslite_server.accept(): set tlslite ignoreAbruptClose (annoyingly common from all browsers)

parent 7d9bba10
......@@ -530,6 +530,7 @@ class tlslite_server (server):
while 1:
conn0, addr = server.accept (self)
conn = tlslite.TLSConnection (conn0)
conn.ignoreAbruptClose = True
try:
conn.handshakeServer (certChain=self.chain, privateKey=self.private, **self.handshake_args)
except tlslite.errors.TLSAbruptCloseError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment