parent
daa73a3f3c
commit
a7b092a305
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ class Proxy(Thread):
|
||||||
# Wait any read available data on socket. Timeout
|
# Wait any read available data on socket. Timeout
|
||||||
# after 5 secs.
|
# after 5 secs.
|
||||||
ins, out, err = select([self.s, ], [], [], 5)
|
ins, out, err = select([self.s, ], [], [], 5)
|
||||||
except Exception, e:
|
except Exception as e:
|
||||||
# There's an error with the socket (maybe the socket
|
# There's an error with the socket (maybe the socket
|
||||||
# has been closed and the file descriptor is bad).
|
# has been closed and the file descriptor is bad).
|
||||||
log.debug('Socket error: %s' % e)
|
log.debug('Socket error: %s' % e)
|
||||||
|
|
Loading…
Reference in a new issue