SimpleHTTPRequestHandler handling long lasting requests problem

Steve Holden steve at holdenweb.com
Fri Mar 11 10:35:08 EST 2005


Andy Leszczynski wrote:
> Sorry for questioning Python :-) - it turned out that this is a problem 
> with Mozilla. For some reason it holds up with opening second connection 
> to given host until the previous one is completed. Interestingly enough, 
> IE works better with Python multi threaded server in that regard.
> 
> Thx, A.

Try switching keepalives off, or falling back to HTTP 1.0 - ironically 
it may be the attempt to use the same connection for both pieces of 
content that holds things up.

regards
  Steve
-- 
Steve Holden        +1 703 861 4237  +1 800 494 3119
Holden Web LLC             http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/




More information about the Python-list mailing list