diff --git a/gradle.properties b/gradle.properties index 96f878e7..a2d4a4a1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. # -netty_version=4.1.0.Final +netty_version=4.1.5.Final slf4j_version=1.7.6 diff --git a/rxnetty-http/src/main/java/io/reactivex/netty/protocol/http/ws/server/WebSocketHandshaker.java b/rxnetty-http/src/main/java/io/reactivex/netty/protocol/http/ws/server/WebSocketHandshaker.java index 98bfcc9a..afe5ef5a 100644 --- a/rxnetty-http/src/main/java/io/reactivex/netty/protocol/http/ws/server/WebSocketHandshaker.java +++ b/rxnetty-http/src/main/java/io/reactivex/netty/protocol/http/ws/server/WebSocketHandshaker.java @@ -73,7 +73,7 @@ protected static String selectSubprotocol(String requestedSubprotocols, String[] return null; } - String[] requestedSubprotocolArray = StringUtil.split(requestedSubprotocols, ','); + String[] requestedSubprotocolArray = requestedSubprotocols.split(","); for (String p: requestedSubprotocolArray) { String requestedSubprotocol = p.trim();