Skip to content

Commit 89ff65b

Browse files
author
oleksiys
committed
+ use client version of the filter
1 parent d01eeca commit 89ff65b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
import java.util.concurrent.ExecutorService;
5757
import java.util.concurrent.TimeUnit;
5858
import java.util.concurrent.TimeoutException;
59-
59+
import org.glassfish.grizzly.websockets.WebSocketClientFilter;
6060

6161
import static com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig.Property.*;
6262

@@ -343,7 +343,7 @@ public void onTimeout(Connection connection) {
343343
} else {
344344
doDefaultTransportConfig();
345345
}
346-
fcb.add(new WebSocketFilter());
346+
fcb.add(new WebSocketClientFilter());
347347

348348
clientTransport.setProcessor(fcb.build());
349349

0 commit comments

Comments
 (0)