Avoid 'Connection refused' when using multithreaded gthread worker with keep-alive (#1699)

Fixes #1698
This commit is contained in:
ddzialak 2018-03-01 13:55:48 +01:00 committed by Benoit Chesneau
parent 06e252f23e
commit 9c8695b04f

View File

@ -74,11 +74,6 @@ class TConn(object):
def close(self):
util.close(self.sock)
def __lt__(self, other):
return self.timeout < other.timeout
__cmp__ = __lt__
class ThreadWorker(base.Worker):