mirror of
https://github.com/romanz/amodem.git
synced 2026-04-20 13:16:42 +08:00
server: make sure accepted UNIX sockets are blocking
It was a problem on Mac OS X, where sometimes we got EAGAIN errors from calling socket.recv() on them.
This commit is contained in:
@@ -32,6 +32,9 @@ class FakeSocket(object):
|
||||
def close(self):
|
||||
pass
|
||||
|
||||
def settimeout(self, value):
|
||||
pass
|
||||
|
||||
|
||||
def test_handle():
|
||||
handler = protocol.Handler(keys=[], signer=None)
|
||||
|
||||
Reference in New Issue
Block a user