Fix code server WS proxy issue

This commit is contained in:
Alexey Andreev 2019-01-14 15:19:08 +03:00
parent 3c8184c3b7
commit 85a71e832b

View File

@ -43,6 +43,8 @@ public class ProxyWsClient {
@OnWebSocketConnect @OnWebSocketConnect
public void connect(Session session) { public void connect(Session session) {
session.getPolicy().setMaxBinaryMessageSize(100_000_000);
session.getPolicy().setMaxTextMessageSize(100_000_000);
this.session = session; this.session = session;
flush(); flush();
if (target != null) { if (target != null) {