Fix for issue 4332 in trunk.
This commit is contained in:
parent
6347098a26
commit
a98d72d598
|
@ -615,6 +615,6 @@ if os.name == 'posix':
|
||||||
fcntl.fcntl(fd, fcntl.F_SETFL, flags)
|
fcntl.fcntl(fd, fcntl.F_SETFL, flags)
|
||||||
|
|
||||||
def set_file(self, fd):
|
def set_file(self, fd):
|
||||||
self._fileno = fd
|
|
||||||
self.socket = file_wrapper(fd)
|
self.socket = file_wrapper(fd)
|
||||||
|
self._fileno = self.socket.fileno()
|
||||||
self.add_channel()
|
self.add_channel()
|
||||||
|
|
Loading…
Reference in New Issue