##// END OF EJS Templates
Backport PR #4074: close Client sockets if connection fails...
Backport PR #4074: close Client sockets if connection fails avoids runaway FDs in cases of frequent client failure. also cleanup Client.close a little bit, allowing setting `linger` on sockets at shutdown time, which is helpful for preventing FD growth on connection failure. Should be considered for backport to 1.1.

File last commit:

r4053:b45902e3
r12427:fb66fa1e
Show More
__init__.py
4 lines | 82 B | text/x-python | PythonLexer
try:
from decorator import *
except ImportError:
from _decorator import *