[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Increase maximum message size to 64 KB.
commit a0991bc1ba646bf74ab07532df36ad5271e8c86f
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Wed Jul 17 20:15:13 2013 -0700
Increase maximum message size to 64 KB.
Testing obfs3-in-websocket was reliably failing at 50% bootstrapped with
a message of about 30 KB.
---
websocket-transport/websocket-server.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/websocket-transport/websocket-server.go b/websocket-transport/websocket-server.go
index f5fed31..655cf7b 100644
--- a/websocket-transport/websocket-server.go
+++ b/websocket-transport/websocket-server.go
@@ -22,7 +22,7 @@ import (
const ptMethodName = "websocket"
const requestTimeout = 10 * time.Second
// 16 kilobytes, possibly base64-encoded.
-const maxMessageSize = 16*1024*4/3 + 1
+const maxMessageSize = 64*1024*4/3 + 1
var logFile = os.Stderr
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits