[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Increase MaxMessageSize to account for base64 overhead.
commit 62b5487ffb6a9b01d10c2d40e6edf37cf89e4f77
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Mon Nov 26 04:17:11 2012 -0800
Increase MaxMessageSize to account for base64 overhead.
---
websocket-transport/websocket-server.go | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/websocket-transport/websocket-server.go b/websocket-transport/websocket-server.go
index 95fd0af..90a2a8d 100644
--- a/websocket-transport/websocket-server.go
+++ b/websocket-transport/websocket-server.go
@@ -172,7 +172,7 @@ func startListener(addr *net.TCPAddr) (*net.TCPListener, error) {
go func() {
var config websocketConfig
config.Subprotocols = []string{"base64"}
- config.MaxMessageSize = 1500
+ config.MaxMessageSize = 2500
http.Handle("/", config.Handler(websocketHandler))
err = http.Serve(ln, nil)
if err != nil {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits