httplib incredibly slow :-(

i3dmaster i3dmaster at gmail.com
Wed Aug 12 17:56:27 EDT 2009


On Aug 12, 9:37 am, Chris Withers <ch... at simplistix.co.uk> wrote:
> David Stanek wrote:
> > I tried to reproduce this, but I could not. Could you paste in the
> > output of your script?
>
> Not sure how that'll help, but sure:
>
> 2009-08-11 21:27:59.153000
> request: 0:00:00.109000
> response: 0:00:00.109000
> read: 0:24:31.266000
>
>  > Also on the same box where you run this script
>
> > can you test with curl or wget?
>
> It's a Windows box, so no :-(
> But it really does download in a few seconds with IE, and 20min+ using
> the script I included...
>
> Chris
>
> --
> Simplistix - Content Management, Batch Processing & Python Consulting
>             -http://www.simplistix.co.uk

Just wanted to check if you can try turning on the debug mode for
httplib and see if you can read a bit more debug info on where the
calls get hung. In your example, it would be conn.set_debuglevel(1)



More information about the Python-list mailing list