pjfanning commented on code in PR #1114:
URL: https://github.com/apache/pekko-http/pull/1114#discussion_r3506583822
##########
http-core/src/main/resources/reference.conf:
##########
@@ -348,6 +348,44 @@ pekko.http {
# Enable verbose debug logging for all ingoing and outgoing frames
log-frames = false
+
+ compression {
+ # Whether the server should support WebSocket compression using the
RFC 7692
+ # permessage-deflate extension. Compression is negotiated during the
+ # WebSocket handshake and is only used when the client requests it.
+ enabled = true
+
+ # Maximum size of a decompressed WebSocket message. If this value is
+ # exceeded while inflating a compressed message, the connection is
closed
+ # with a WebSocket protocol error.
+ # Set to 0 to disable this limit.
+ max-allocation = 64k
Review Comment:
I have no strong preference. 256Kb can be the starting point. If we get
requests to increase the default later on, we can do that. The value is a
configurable but a default setting that only some people need to worry about is
ideal.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]