On Wed, Aug 4, 2010 at 2:13 PM, Itamar Turner-Trauring <[email protected]> wrote: > On Wed, 2010-08-04 at 12:00 +0200, Pet wrote: > >> Now, for XMLRPC this looks for me like Protocol instance is reused for >> all connection. If it is so, can I change this behavior, so I have one >> instance of Protocol per connection? > > XMLRPC is a Resource, not a Protocol: Resources handle HTTP *requests*. > The reason Resources don't care about connections is that HTTP doesn't > care about connections: you can send multiple requests over the same > connection, or one request per connection, and the semantics are the > same either way.
That make sense, thanks. Is there a way to isolate requests from each other? Pet > > > _______________________________________________ > Twisted-Python mailing list > [email protected] > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > _______________________________________________ Twisted-Python mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
