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:
|
if not data:
|
||||||
cause = "Remote host closed the connection"
|
cause = "Remote host closed the connection"
|
||||||
break
|
break
|
||||||
|
except ssl.SSLEOFError::
|
||||||
|
pass
|
||||||
|
except ssl.SSLZeroReturnError:
|
||||||
|
cause = "Remote host closed the connection"
|
||||||
|
break
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
cause = "Read error: " + str(ex)
|
cause = "Read error: " + str(ex)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Reference in a new issue