Opened 12 years ago

Last modified 12 years ago

#974 defect closed fixed (fixed)

twisted.web.client.getPage never completes files >3.1MB (Windows)

Reported by: Cory Dodt Owned by: Cory Dodt
Priority: high Milestone:
Component: Keywords:
Cc: Cory Dodt, Jean-Paul Calderone, dp, jknight Branch:
Author:

Description


Attachments (2)

httpgetter-getpage.py (552 bytes) - added by Cory Dodt 12 years ago.
httpsender.tac (392 bytes) - added by Cory Dodt 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by Cory Dodt

Attachment: httpgetter-getpage.py added

comment:1 Changed 12 years ago by Cory Dodt

On Linux, getPage demonstrates O(n^2) performance.  On my Windows laptop,
however, it just breaks when > 3.1MB.

First attached file is some client code to demonstrate.
Second attached file will be a trivial server .tac, feel free to supply your own.

Run the client as "python httpgetter-getpage.py http://localhost:8080/bigfile"

(nosy jknight just for relatedness)

Changed 12 years ago by Cory Dodt

Attachment: httpsender.tac added

comment:2 Changed 12 years ago by Cory Dodt

the server tac

comment:3 Changed 12 years ago by Cory Dodt

Updated title, since this only happens windowsish.

comment:4 Changed 12 years ago by Jean-Paul Calderone

Performance is O(N) on Linux now.  Should be improved on Windows too.  Please
test and re-open if this is not the case.
Note: See TracTickets for help on using tickets.