Issue #4248 - Using ServletUpgradeResponse.setSuccess(true) for servlet side

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2019-11-13 15:33:00 -06:00
parent 6a6206d8e4
commit 5479ed030f
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 2 additions and 0 deletions

View File

@ -698,6 +698,8 @@ public class WebSocketServerFactory extends ContainerLifeCycle implements WebSoc
// Process (version specific) handshake response
handshaker.doHandshakeResponse(request, response);
response.setSuccess(true);
if (LOG.isDebugEnabled())
LOG.debug("Websocket upgrade {} {} {} {}", request.getRequestURI(), version, response.getAcceptedSubProtocol(), wsConnection);