[tor-commits] [snowflake/master] Remove unused maxMessageSize constant.

dcf at torproject.org dcf at torproject.org
Fri Jan 31 07:15:25 UTC 2020


commit 564d1c83634f26341c423815387e728f14c0e61d
Author: David Fifield <david at bamsoftware.com>
Date:   Fri Jan 31 00:15:11 2020 -0700

    Remove unused maxMessageSize constant.
---
 server/server.go | 2 --
 1 file changed, 2 deletions(-)

diff --git a/server/server.go b/server/server.go
index 5d3bfc6..85bf4f5 100644
--- a/server/server.go
+++ b/server/server.go
@@ -30,8 +30,6 @@ import (
 const ptMethodName = "snowflake"
 const requestTimeout = 10 * time.Second
 
-const maxMessageSize = 64 * 1024
-
 // How long to wait for ListenAndServe or ListenAndServeTLS to return an error
 // before deciding that it's not going to return.
 const listenAndServeErrorTimeout = 100 * time.Millisecond



More information about the tor-commits mailing list