You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/05/29 04:18:34 UTC

[GitHub] [pulsar] zhanghaou commented on a change in pull request #7091: [Issue 7049][WebSokcet] Make WebSocketService.MaxTextFrameSize configurable

zhanghaou commented on a change in pull request #7091:
URL: https://github.com/apache/pulsar/pull/7091#discussion_r432247182



##########
File path: pulsar-websocket/src/main/java/org/apache/pulsar/websocket/service/WebSocketProxyConfiguration.java
##########
@@ -66,6 +66,8 @@
     private Optional<Integer> webServicePortTls = Optional.empty();
     // Hostname or IP address the service binds on, default is 0.0.0.0.
     private String bindAddress;
+    // The maximum size of a text message during parsing in WebSocket proxy
+    private int webSocketMaxTextFrameSize = 1024 * 1024;

Review comment:
       The default value is the origial value in hard code, so I keep the same with it.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org