in reply to Mysterious LWP status 500 Line too long
I'm not convinced making the limit bigger would help. Net::HTTP thinks a *header* line is longer than 4k. The switch shouldn't be returning a header line that big. Is it really doing that?
I think the following hack would make the limit bigger:
%OPTS = @LWP::Protocol::http::EXTRA_SOCK_OPTS; $OPTS{MaxLineLength} = ...; @LWP::Protocol::http::EXTRA_SOCK_OPTS = %OPTS;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mysterious LWP status 500 Line too long
by dpmott (Scribe) on Jul 28, 2005 at 17:55 UTC | |
by ikegami (Patriarch) on Jul 28, 2005 at 17:58 UTC | |
by dpmott (Scribe) on Jul 28, 2005 at 18:57 UTC | |
by ikegami (Patriarch) on Jul 28, 2005 at 19:14 UTC |