mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Remove unused maxMessageSize constant.
This commit is contained in:
parent
a2292ce35b
commit
564d1c8363
1 changed files with 0 additions and 2 deletions
|
@ -30,8 +30,6 @@ import (
|
||||||
const ptMethodName = "snowflake"
|
const ptMethodName = "snowflake"
|
||||||
const requestTimeout = 10 * time.Second
|
const requestTimeout = 10 * time.Second
|
||||||
|
|
||||||
const maxMessageSize = 64 * 1024
|
|
||||||
|
|
||||||
// How long to wait for ListenAndServe or ListenAndServeTLS to return an error
|
// How long to wait for ListenAndServe or ListenAndServeTLS to return an error
|
||||||
// before deciding that it's not going to return.
|
// before deciding that it's not going to return.
|
||||||
const listenAndServeErrorTimeout = 100 * time.Millisecond
|
const listenAndServeErrorTimeout = 100 * time.Millisecond
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue