RE: xmlrpc, httplib and SSL
From: Brian Quinlan (brian_at_sweetapp.com)
Date: 03/27/04
- Next message: Michael: "problems with MySQLdb"
- Previous message: sean: "Re: Python for email?"
- In reply to: Roger Binns: "Re: xmlrpc, httplib and SSL"
- Next in thread: Roger Binns: "Re: xmlrpc, httplib and SSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Mar 2004 14:10:07 -0800 To: "'Roger Binns'" <rogerb@rogerbinns.com>, <python-list@python.org>
> - Connections are accepted over SSL
I don't know how much work it would take to make this happen.
> - Callbacks to verify incoming connections, certificates and
> credentials of the connections
> - Verification of HTTP authentication information
You don't need a callback to do this, just subclass
SimpleXMLRPCRequestHandler, override do_POST, and do authentication before
calling the base implementation.
> - Connections are kept open/keep-alive (HTTP/1.1)
This is a one line patch. Feel free to submit it.
> - Use of a bounded thread pool that handles the connections
This is too tied to your implementation requirements. If you want something
like this then you should add a PooledThreadingTCPServer class to
SocketServer.py and then trivially subclass that in SimpleXMLRPCServer.py
as:
class PooledThreadingXMLRPCServer(
SocketServer.PooledThreadingTCPServer,
SimpleXMLRPCDispatcher)
Cheers,
Brian
- Next message: Michael: "problems with MySQLdb"
- Previous message: sean: "Re: Python for email?"
- In reply to: Roger Binns: "Re: xmlrpc, httplib and SSL"
- Next in thread: Roger Binns: "Re: xmlrpc, httplib and SSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]