Compare commits
No commits in common. "52208e616168f42a922c13f849a806bfd9f02f02" and "f908aa31d77c407d7bb6e9e2b9419def2e4553d0" have entirely different histories.
52208e6161
...
f908aa31d7
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ while True:
|
||||||
except ValueError:
|
except ValueError:
|
||||||
if len(sockets)>=10:
|
if len(sockets)>=10:
|
||||||
logger("too many connections %s\n" % repr(sockets))
|
logger("too many connections %s\n" % repr(sockets))
|
||||||
s[0].send(b"too many connections, good bye\n")
|
s[0].send("too many connections, good bye\n")
|
||||||
s[0].close()
|
s[0].close()
|
||||||
else:
|
else:
|
||||||
sockets.append(s)
|
sockets.append(s)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue