We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 465939b commit 3f69c89Copy full SHA for 3f69c89
roundup/cgi/client.py
@@ -7,6 +7,11 @@
7
import socket, errno
8
from traceback import format_exc
9
10
+try:
11
+ from OpenSSL.SSL import SysCallError
12
+except ImportError:
13
+ SysCallError = None
14
+
15
from roundup import roundupdb, date, hyperdb, password
16
from roundup.cgi import templating, cgitb, TranslationService
17
from roundup.cgi.actions import *
@@ -483,7 +488,10 @@ def inner_main(self):
483
488
self.serve_static_file(str(file))
484
489
except IOError:
485
490
# IOErrors here are due to the client disconnecting before
486
- # recieving the reply.
491
+ # receiving the reply.
492
+ pass
493
+ except SysCallError:
494
+ # OpenSSL.SSL.SysCallError is similar to IOError above
487
495
pass
496
497
except SeriousError, message:
0 commit comments