Message98687
client_address is not interresting, but I prefer the handler object (SimpleXMLRPCRequestHandler instance). The handler contains more information:
* handler.address_string() gives the FQDN
* handler.connection.getpeername() gives the client address
* handler.connection.getsockanem() gives the server address, useful is the server is listening to multiple addresses
* etc.
If the server uses SSL, it would be possible to get more information about SSL from handler(.connection).
Your patch breaks the API for all (service) callbacks. Add an option to register_function() would allow a smoother transition (don't break API): you don't have to inherit from a new class. Eg. server.register_function(whoami, with_handler=True). |
|
Date |
User |
Action |
Args |
2010-02-01 20:46:29 | vstinner | set | recipients:
+ vstinner, draghuram, samwyse, acooke, cloverprince |
2010-02-01 20:46:28 | vstinner | set | messageid: <1265057188.83.0.684100386803.issue3058@psf.upfronthosting.co.za> |
2010-02-01 20:46:27 | vstinner | link | issue3058 messages |
2010-02-01 20:46:27 | vstinner | create | |
|