[ 
https://issues.apache.org/jira/browse/HTTPCORE-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steffen Pingel updated HTTPCORE-81:
-----------------------------------


 (In reply to comment #3)
> > it might be a good idea to introduce an additional property
> HttpConnectionParams.MAX_HEADER_LENGTH
> 
> I am not sure there is really much practical value in being able to
> differentiate the two cases, but I do not mind adding the parameter if you 
> think
> otherwise.

I agree that a single parameter is sufficient. I was not sure if 
MAX_LINE_LENGTH was intended for limiting the total length of a header or of a 
single line only (as the implementation suggested).

Thanks for the quick response.



> Enforce maximum line length and header count
> --------------------------------------------
>
>                 Key: HTTPCORE-81
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-81
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore NIO
>            Reporter: Steffen Pingel
>         Attachments: httpcore-limit-message-length.patch, 
> httpcore-limit-message-length.patch
>
>
> The NIO module does not enforce the 'http.connection.max-line-length' and 
> 'http.connection.max-header-count' parameters.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to