Skip to content

Commit 0952fd2

Browse files
committed
Changes for AsyncHttpClient#450.
1 parent 7afe807 commit 0952fd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/ning/http/client/providers/grizzly/GrizzlyAsyncHttpProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,7 @@ private boolean sendAsGrizzlyRequest(final Request request,
860860
if (httpCtx.isWSRequest && !httpCtx.establishingTunnel) {
861861
try {
862862
final URI wsURI = new URI(httpCtx.wsRequestURI);
863+
secure = "wss".equalsIgnoreCase(wsURI.getScheme());
863864
httpCtx.protocolHandler = Version.RFC6455.createHandler(true);
864865
httpCtx.handshake = httpCtx.protocolHandler.createHandShake(wsURI);
865866
requestPacket = (HttpRequestPacket)

0 commit comments

Comments
 (0)