This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2009-09-14.10:20:19
SpamBayes Score 1.7230957e-06
Marked as misclassified No
Message-id <1252923621.29.0.493417133777.issue6907@psf.upfronthosting.co.za>
In-reply-to
Content
The issue #6099 (part of #6267 superset) introduced a regression:
xmlrpclib.make_connection() is not thread safe. If xmlrpclib is used in two
threads, the socket is shared, but it doesn't any lock, and so data will be
mixed between the two requets. It becomes worse when I use SSL (pyopenssl
or m2crypto).

A possible solution is to use a different socket for each thread.

Note: I really love #6099, it was exactly what I needed :-)
History
Date User Action Args
2009-09-14 10:20:21vstinnersetrecipients: + vstinner
2009-09-14 10:20:21vstinnersetmessageid: <1252923621.29.0.493417133777.issue6907@psf.upfronthosting.co.za>
2009-09-14 10:20:20vstinnerlinkissue6907 messages
2009-09-14 10:20:19vstinnercreate