|
|
|
@ -184,7 +184,7 @@ try:
@@ -184,7 +184,7 @@ try:
|
|
|
|
|
for sock in rlist: |
|
|
|
|
try: |
|
|
|
|
m = sock.recv(1) |
|
|
|
|
except ConnectionResetError: |
|
|
|
|
except Exception: |
|
|
|
|
conns.remove(sock) |
|
|
|
|
continue |
|
|
|
|
|
|
|
|
@ -203,7 +203,7 @@ try:
@@ -203,7 +203,7 @@ try:
|
|
|
|
|
|
|
|
|
|
try: |
|
|
|
|
sock.send(r) |
|
|
|
|
except ConnectionResetError: |
|
|
|
|
except Exception: |
|
|
|
|
conns.remove(sock) |
|
|
|
|
continue |
|
|
|
|
|
|
|
|
|