[undertow-dev] is there a server option for max http line length?

Stuart Douglas sdouglas at redhat.com
Mon Nov 21 20:26:23 EST 2016


The reason why it kills the connection is to remove the need to
read+discard the rest of the header block.

In normal usage this limit should never be hit, if a client does hit
this then we assume they are trying something malicious so we drop the
connection.

Stuart

On Tue, Nov 22, 2016 at 6:07 AM, Michael Grove <mike at stardog.com> wrote:
> I found `UndertowOptions.MAX_HEADER_SIZE` which seemed to roughly correspond
> to this, but from what I could see in the HTTP listener, connections are
> severed if they exceed the length rather than sending a 414.
>
> Is there a different option I should be using?
>
> Thanks.
>
> Mike
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev


More information about the undertow-dev mailing list