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;
In reply to Re: Mysterious LWP status 500 Line too long
by ikegami
in thread Mysterious LWP status 500 Line too long
by dpmott
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |