228
228
self._thread = threading.Thread(target=self._accept_read_and_reply)
229
229
self._thread.setDaemon(True)
233
233
def _accept_read_and_reply(self):
238
238
conn, address = self._sock.accept()
239
239
# On win32, the accepted connection will be non-blocking to start
240
240
# with because we're using settimeout.
246
247
# Make sure the client isn't stuck waiting for us to e.g. accept.
249
252
# The client may have already closed the socket.