extras-buildsys ChangeLog,1.126.2.34,1.126.2.35

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Wed Feb 15 17:17:41 UTC 2006


Author: dcbw

Update of /cvs/fedora/extras-buildsys
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12354

Modified Files:
      Tag: STABLE_0_4
	ChangeLog 
Log Message:
2006-02-15  Dan Williams  <dcbw at redhat.com>

    * common/SSLConnection.py
        - Don't use pyOpenSSL's sendall() call, since it simply
            calls SSL_write() in a loop.  Instead, we simulate the sendall
            ourselves, allowing us to honor socket timeouts and to not
            peg the CPU when we get WantReadError/WantWriteError exceptions due
            to non-blocking IO
        - Clean up the recv/sendall functions somewhat too
        - Add some cosmetic inter-function spacing
        - Increase WantReadError/WantWriteError sleeps from 0.1s -> 0.2s
        - Return valid socket error message on timeout




Index: ChangeLog
===================================================================
RCS file: /cvs/fedora/extras-buildsys/ChangeLog,v
retrieving revision 1.126.2.34
retrieving revision 1.126.2.35
diff -u -r1.126.2.34 -r1.126.2.35
--- ChangeLog	15 Feb 2006 17:16:18 -0000	1.126.2.34
+++ ChangeLog	15 Feb 2006 17:17:33 -0000	1.126.2.35
@@ -1,5 +1,18 @@
 2006-02-15  Dan Williams  <dcbw at redhat.com>
 
+    * common/SSLConnection.py
+        - Don't use pyOpenSSL's sendall() call, since it simply
+            calls SSL_write() in a loop.  Instead, we simulate the sendall
+            ourselves, allowing us to honor socket timeouts and to not
+            peg the CPU when we get WantReadError/WantWriteError exceptions due
+            to non-blocking IO
+        - Clean up the recv/sendall functions somewhat too
+        - Add some cosmetic inter-function spacing
+        - Increase WantReadError/WantWriteError sleeps from 0.1s -> 0.2s
+        - Return valid socket error message on timeout
+
+2006-02-15  Dan Williams  <dcbw at redhat.com>
+
     * common/XMLRPCServerProxy.py
         - Fix up some of the test code
 




More information about the scm-commits mailing list