NPE in JsrSession when dealing with a response missing the Sec-WebSocket-Extensions
header
#1202
Labels
Bug
For general bugs on Jetty side
Using the JSR WebSocket client provided in Jetty 9.4.0.v20161208 the following NPE can be thrown:
This happens if the
ClientUpgradeResponse
does not contain aSec-WebSocket-Extensions
header.I believe that commit e0d3536 may have changed the behavior of
ClientUpgradeResponse
(specifically around these lines) meaning thatgetExtensions()
now returnsnull
rather than an empty list.The text was updated successfully, but these errors were encountered: