[Twisted-Python] flow example doesn't appear to be 'flowing'

James Y Knight foom at fuhm.net
Tue Oct 4 19:05:53 MDT 2005


On Oct 4, 2005, at 8:08 PM, Todd Greenwood wrote:

> First, thanks for creating this cool tool!
>
> I tried the following example (http://twistedmatrix.com/projects/ 
> flow/documentation/howto/flow.html
> ) ...and what I saw doesn't match the documentation. The docs state  
> that if you launch two browsers pointed at this url, that both  
> pages will be built simultaneously, due to the flow/generator  
> constructs. However, when I tried this, I saw the web pages being  
> generated sequentially. The second page blocked until the first  
> page finished. Is this simply my misunderstanding of the docs, or  
> is this page outdated?

Try with two browsers, not two tabs in one browser. Due to the way  
the browser implements connection-caching and http keepalive,  
sometimes it will not send a second request to the server until the  
first one has completely downloaded.

James




More information about the Twisted-Python mailing list