mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix code server WS proxy issue
This commit is contained in:
parent
3c8184c3b7
commit
85a71e832b
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user