[undertow-dev] how to implement request processing timeout

Stan Rosenberg stan.rosenberg at acm.org
Sat Jul 14 21:49:43 EDT 2018


Apologies if this question has already been answered elsewhere; closest I
could find is this thread:
http://lists.jboss.org/pipermail/undertow-dev/2014-August/000898.html

HttpServerExchange cannot be manipulated from multiple threads (without
locking).  Thus, dispatch and executeAfter wouldn't work if the goal is to
end the exchange after the max. time to process (request) has been exceeded.

I can implement this timeout mechanism using out-of-band thread executor
but was hoping there is a more efficient way provided by the framework.
Thanks.

Best,

stan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20180714/3c6f6473/attachment.html 


More information about the undertow-dev mailing list