[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/master] Future-proof an incorrect comment.



commit b6815e4d40168135b4d33b7ff4787a32fcc77a6d
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Mon Aug 5 12:00:00 2013 -0700

    Future-proof an incorrect comment.
---
 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 655cf7b..4c1dd4b 100644
--- a/websocket-transport/websocket-server.go
+++ b/websocket-transport/websocket-server.go
@@ -21,7 +21,7 @@ import (
 
 const ptMethodName = "websocket"
 const requestTimeout = 10 * time.Second
-// 16 kilobytes, possibly base64-encoded.
+// "4/3+1" accounts for possible base64 encoding.
 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