[Twisted-Python] Disabling request queuing in twisted.protocols.http

Andy Leszczynski leszczynscy at yahoo.com
Fri Apr 7 17:19:17 EDT 2006


HTTP 1.1 persistent connection requires replies to be
send by the server in the order requests are received.
At least this is the way I understand the HTTP clients
can associate request/reply send and received thru the

I use Twisted twisted.protocols.http for very specific
application. There is a Twisted based HTTP server
which in some cases must reply in different order.

Now, I went thru the http module code and all the
outstanding requests results are steamed into IOString
and later flushed out in the correct order.

Is there any way to disable queuing. I tried to
overriteRequest.queued by passing 0 in to the__init__
but it yields some other problems. I use 1.3 Twisted.

Thanks in advance, A.

More information about the Twisted-Python mailing list