##// 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:

r9394:a8b9bab9
r12427:fb66fa1e
Show More
__init__.py
21 lines | 785 B | text/x-python | PythonLexer
# encoding: utf-8
"""
Extra capabilities for IPython
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.lib.security import passwd
#-----------------------------------------------------------------------------
# Code
#-----------------------------------------------------------------------------