Make all mutable fields in WebSocketClientHandshaker volatile

- Fixes #1945
This commit is contained in:
Trustin Lee 2013-10-24 17:37:39 +09:00
parent 3b324e9515
commit 6d436948a7

View File

@ -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;