示例#1
0
文件: msocket.py 项目: V-E-O/meinheld
def internal_shutdown(s, how):
    cancel_wait(s._sock.fileno())
    s._sock.shutdown(how)
示例#2
0
 def shutdown(self, how):
     cancel_wait(self._sock.fileno())
     self._sock.shutdown(how)
示例#3
0
文件: msocket.py 项目: V-E-O/meinheld
def internal_close(s):
    cancel_wait(s._sock.fileno())
    s._sock = _closedsocket()
    dummy = s._sock._dummy
    for method in _delegate_methods:
        setattr(s, method, dummy)
示例#4
0
 def close(self):
     cancel_wait(self._sock.fileno())
     self._sock = _closedsocket()
     dummy = self._sock._dummy
     for method in _delegate_methods:
         setattr(self, method, dummy)
示例#5
0
def internal_shutdown(s, how):
    cancel_wait(s._sock.fileno())
    s._sock.shutdown(how)
示例#6
0
def internal_close(s):
    cancel_wait(s._sock.fileno())
    s._sock = _closedsocket()
    dummy = s._sock._dummy
    for method in _delegate_methods:
        setattr(s, method, dummy)
示例#7
0
 def shutdown(self, how):
     cancel_wait(self._sock.fileno())
     self._sock.shutdown(how)
示例#8
0
 def close(self):
     cancel_wait(self._sock.fileno())
     self._sock = _closedsocket()
     dummy = self._sock._dummy
     for method in _delegate_methods:
         setattr(self, method, dummy)