1) Why do you need to set this? In general Undertow won't close the
socket until all messages have been sent anyway.
2) Do you mean limit the number of active requests, or limit the
number of bytes per second that can be sent?
io.undertow.server.handlers.RequestLimitingHandler can limit the
number of active requests, while
io.undertow.server.handlers.ResponseRateLimitingHandler can be used to
limit the rate data is sent on a connection.
Stuart
On Wed, Nov 30, 2016 at 9:53 PM, Pere Ferrera <ferrerabertran(a)gmail.com> wrote:
Hi there,
I have two questions: 1) How can I configure the underlying socket parameter
SO_LINGER using the Undertow API ? and 2) Is there something that I can use
to rate-limit requests issued to an Undertow server ? (something similar to
the DoS Filter in Jetty)
Thanks,
_______________________________________________
undertow-dev mailing list
undertow-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev