xmlrpc.server.work() does not seem to handle multiple requests

john14 vesko8 at yahoo.com
Fri Feb 18 15:55:13 EST 2005


Hi,

I have an xmlrpc server. I using the python package
xmlrpc. Here is what I am doing:

    s = xmlrpc.server()
    s.addMethods(method_hash)
    s.bindAndListen(PORT)
    while 1:
        try:
            s.work()
        except:
            e = sys.exc_info()

The problem is that when I send multiple requests they are queued and
processed one after the other. Is there some other method that will allow
me to process multiple request at the same time?

Thank You




More information about the Python-list mailing list