Prevent incoming connection flooding from crashing singleListener thread #160
|
@ -221,6 +221,7 @@ class singleListener(threading.Thread):
|
|||
a.close()
|
||||
a,(HOST,PORT) = sock.accept()
|
||||
objectsOfWhichThisRemoteNodeIsAlreadyAware = {}
|
||||
a.settimeout(20)
|
||||
|
||||
sd = sendDataThread()
|
||||
sd.setup(a,HOST,PORT,-1,objectsOfWhichThisRemoteNodeIsAlreadyAware)
|
||||
|
|
Reference in New Issue
Block a user