mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
93004be1b6
commit
ee1593b77c
@ -560,7 +560,11 @@ class ServerLoop(object):
|
||||
else:
|
||||
yield s, self.connection_map[s], READ
|
||||
for s in writable:
|
||||
yield s, self.connection_map[s], WRITE
|
||||
try:
|
||||
conn = self.connection_map[s]
|
||||
except KeyError:
|
||||
continue # Happens if connection was closed during read phase
|
||||
yield s, conn, WRITE
|
||||
|
||||
def accept(self):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user