On Wed, 2012-03-07 at 09:46 -0800, becks007 wrote:
> Thanks Oleg,
> 
> I think java doc is accurate :) I am not sure if there is anything wrong
> with my program. But i was using 4.2.1 and observed that MAX_LINE_LENGTH is
> not applied to single lines and headers having larger values than configured
> max line length was getting populated. 
> 
> In the earlier code snippet i had pasted i see that max line length is only
> checked for folded headers if so that needs  a patch; i will try to open up
> a defect and give the patch if so.
> 

Length of individual lines is checked in the
AbstractSessionInputBuffer#readLine, but feel free to double-check and
raise a defect in JIRA if in some cases the max length is not properly
enforced. 

http://hc.apache.org/httpcomponents-core-ga/httpcore/xref/org/apache/http/impl/io/AbstractSessionInputBuffer.html#238

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to