VZmaster has asked for the wisdom of the Perl Monks concerning the following question:
i'm trying to download html pages, everything is working fine except for pages where single html line contains length longer than 64k bytes. Downloading interrupts, line cutted at 64k, rest of page skipped. Return code - 200 ok.
Interestingly wget does the same, truncated html page at line length 64k. And no errors.
But any browser on windows machine opens that pages correctly.
Settingnot helping at all. Besides i think this limit is for headers.use LWP::Protocol::http; push(@LWP::Protocol::http::EXTRA_SOCK_OPTS, MaxLineLength => 0);
RHEL5 Server x64, perl 5.8.8
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP hidden 64k content line length limit
by Corion (Patriarch) on Jan 08, 2016 at 09:05 UTC | |
by VZmaster (Initiate) on Jan 08, 2016 at 10:15 UTC | |
by Anonymous Monk on Jan 08, 2016 at 22:37 UTC | |
by VZmaster (Initiate) on Jan 09, 2016 at 07:54 UTC | |
by Anonymous Monk on Jan 09, 2016 at 07:57 UTC | |
by VZmaster (Initiate) on Jan 09, 2016 at 17:34 UTC |