Details
-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
2.0.28.Final
-
None
Description
Currently there is no way to configure the timeout for asynchronous HTTP request as the value is hard-coded in the AsyncContextImpl class:
public class AsyncContextImpl implements AsyncContext { private final List<BoundAsyncListener> asyncListeners = new CopyOnWriteArrayList<>(); private final HttpServerExchange exchange; private final ServletRequest servletRequest; private final ServletResponse servletResponse; private final TimeoutTask timeoutTask = new TimeoutTask(); private final ServletRequestContext servletRequestContext; private final boolean requestSupplied; private AsyncContextImpl previousAsyncContext;//the previous async context //todo: make default configurable private volatile long timeout = 30000; private volatile XnioExecutor.Key timeoutKey;
Attachments
Issue Links
- relates to
-
WFLY-14748 Hard-coded timeout for asynchronous HTTP requests - add async context timeout undertow option
- Open