Fixed potential infinite loop case (does not occur in current code base)

pull/186/head
luccioman 7 years ago
parent a15ac8e0ca
commit d53c33e4ef

@ -853,7 +853,7 @@ public class RequestHeader extends HeaderFramework implements HttpServletRequest
@Override @Override
public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException { public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException {
if (_request != null) { if (_request != null) {
startAsync(servletRequest, servletResponse); return _request.startAsync(servletRequest, servletResponse);
} }
throw new UnsupportedOperationException("Not supported yet."); throw new UnsupportedOperationException("Not supported yet.");
} }

Loading…
Cancel
Save