[tor-commits] [flashproxy/master] fmt.
dcf at torproject.org
dcf at torproject.org
Sun Feb 3 09:46:32 UTC 2013
commit 7994fd5005b25185bfd7edd982fc0bacc399ba1e
Author: David Fifield <david at bamsoftware.com>
Date: Sat Feb 2 22:34:58 2013 -0800
fmt.
---
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 a0ba3d7..6ce9e54 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) {
var config WebsocketConfig
config.Subprotocols = []string{"base64"}
// 16 kilobytes, possibly base64-encoded.
- config.MaxMessageSize = 16 * 1024 * 4 / 3 + 1
+ config.MaxMessageSize = 16*1024*4/3 + 1
http.Handle("/", config.Handler(websocketHandler))
err = http.Serve(ln, nil)
if err != nil {
More information about the tor-commits
mailing list