-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
Undefined
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;
This issue is being handled in Undertow side already via UNDERTOW-1870. But we also need to add the configuration in WildFly and follow the RFE process to have this config available for users.
- is related to
-
UNDERTOW-1870 Hard-coded timeout for asynchronous HTTP requests - add async context timeout undertow option
- Resolved