Message21283
Logged In: YES
user_id=972995
Now I managed to solve the problem for me with attached
patch of httplib.py: a explicit shutdown ( 2 or 1 ) of the
(faked) ssl'ed socket solves it.
I still guess the ssl'ed socket (ssl dll) should do that
auto on sock.close()
Thus I leave it as a bug HERE. Right?
[ I also have the hope, that this also solves the
ssl-eof-errors with https (of some of my users; will see
this in future)
*** \usr\src\py24old/httplib.py Sat Sep 24 21:35:28 2005
--- httplib.py Sat Sep 24 21:37:48 2005
*************** class SharedSocket:
*** 899,904 ****
--- 899,905 ----
self._refcnt -= 1
assert self._refcnt >= 0
if self._refcnt == 0:
+ self.sock.shutdown(2)
self.sock.close()
def __del__(self): |
|
Date |
User |
Action |
Args |
2007-08-23 14:22:53 | admin | link | issue978833 messages |
2007-08-23 14:22:53 | admin | create | |
|