[Twisted-Python] xmlrpc protocoll instanze per connection?
petshmidt at googlemail.com
Wed Aug 4 08:59:22 EDT 2010
On Wed, Aug 4, 2010 at 2:13 PM, Itamar Turner-Trauring
<itamar at itamarst.org> 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?
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
More information about the Twisted-Python