SOURCES: python-bug-978833.patch - one more thing needed

arekm arekm at pld-linux.org
Wed Sep 5 14:54:29 CEST 2007


Author: arekm                        Date: Wed Sep  5 12:54:29 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- one more thing needed

---- Files affected:
SOURCES:
   python-bug-978833.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/python-bug-978833.patch
diff -u SOURCES/python-bug-978833.patch:1.1 SOURCES/python-bug-978833.patch:1.2
--- SOURCES/python-bug-978833.patch:1.1	Wed Sep  5 13:41:20 2007
+++ SOURCES/python-bug-978833.patch	Wed Sep  5 14:54:24 2007
@@ -28,3 +28,16 @@
  class HTTPSConnection(HTTPConnection):
      "This class allows communication via SSL."
 
+--- python/trunk/Lib/httplib.py	2006/05/03 18:03:22	45890
++++ python/trunk/Lib/httplib.py	2006/07/26 12:12:56	50844
+@@ -926,8 +926,8 @@
+         self.__state = _CS_IDLE
+ 
+         if response.will_close:
+-            # this effectively passes the connection to the response
+-            self.close()
++            # Pass the socket to the response
++            self.sock = None
+         else:
+             # remember this, so we can tell when it is complete
+             self.__response = response
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/python-bug-978833.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list