[issue1767370] Make xmlrpc use HTTP/1.1 and keepalive

Ionut Turturica report at bugs.python.org
Mon Sep 1 22:26:49 CEST 2008


Ionut Turturica <jonozzz at yahoo.com> added the comment:

Note that win32 Python's socket module doesn't have a MSG_DONTWAIT
constant defined. So the following code will fail on windows machines.

+                self.__connection.sock.recv(1,
+                                            socket.MSG_PEEK | 
+                                            socket.MSG_DONTWAIT)

Good job with this patch. It would've been interesting to have a flag to
switch to old http1.0 and see the differences in terms of performance.

Ionut

----------
nosy: +jonozzz
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1767370>
_______________________________________


More information about the Python-bugs-list mailing list