parent
2f33a0199c
commit
9ff0311948
1 changed files with 5 additions and 0 deletions
|
@ -258,6 +258,11 @@ def session(connection, client, ip, isssl=False):
|
|||
if not data:
|
||||
cause = "Remote host closed the connection"
|
||||
break
|
||||
except ssl.SSLEOFError::
|
||||
pass
|
||||
except ssl.SSLZeroReturnError:
|
||||
cause = "Remote host closed the connection"
|
||||
break
|
||||
except Exception as ex:
|
||||
cause = "Read error: " + str(ex)
|
||||
break
|
||||
|
|
Loading…
Add table
Reference in a new issue