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