Make all mutable fields in WebSocketClientHandshaker volatile
- Fixes #1945
This commit is contained in:
parent
3b324e9515
commit
6d436948a7
@ -35,7 +35,7 @@ public abstract class WebSocketClientHandshaker {
|
||||
|
||||
private final String expectedSubprotocol;
|
||||
|
||||
private String actualSubprotocol;
|
||||
private volatile String actualSubprotocol;
|
||||
|
||||
protected final Map<String, String> customHeaders;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user