zodalahtathi added the comment:
Thank you
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22960
___
___
Python-bugs-list mailing list
Alex Gaynor added the comment:
Attached is a patch for 2.7
--
keywords: +patch
Added file: http://bugs.python.org/file37321/issue22960.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22960
Benjamin Peterson added the comment:
I suppose I should ask you to write a test. Of course, HTTPS doesn't seem to be
tested at all right now (see the attractive FIXME: mostly untested comment in
SafeTransport.) Maybe, it's easier now, though, using the code in
Lib/test/ssl_servers.py?
Roundup Robot added the comment:
New changeset 62bd574e95d5 by Benjamin Peterson in branch '2.7':
add context parameter to xmlrpclib.ServerProxy (#22960)
https://hg.python.org/cpython/rev/62bd574e95d5
--
nosy: +python-dev
___
Python tracker
Alex Gaynor added the comment:
Attached patch fixes it for Python3.
--
Added file: http://bugs.python.org/file37323/issue22960-3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22960
___
Roundup Robot added the comment:
New changeset 4b00430388ad by Benjamin Peterson in branch '3.4':
add context parameter to xmlrpclib.ServerProxy (#22960)
https://hg.python.org/cpython/rev/4b00430388ad
New changeset 2a126ce6f83e by Benjamin Peterson in branch 'default':
merge 3.4 (#22960)
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22960
___
New submission from zodalahtathi:
When using xmlrpc.server it is possible (despite being intrusive) to use a
custom SSL context, ie:
import ssl
import xmlrpc.server
rpc_server = xmlrpc.server.SimpleXMLRPCServer(...)
ssl_context = ssl.SSLContext()
# setup the context ...
rpc_server.socket =
Changes by Alex Gaynor alex.gay...@gmail.com:
--
nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22960