greenio: fix bug in GreenSocket.set_blocking, it used to put the underlying socket in blocking mode (fix by Marcin Bachry)
This commit is contained in:
@@ -352,7 +352,6 @@ class GreenSocket(object):
|
||||
return self.fd.sendto(*args)
|
||||
|
||||
def setblocking(self, flag):
|
||||
self.fd.setblocking(flag)
|
||||
if flag:
|
||||
self.act_non_blocking = False
|
||||
self.timeout = None
|
||||
|
Reference in New Issue
Block a user