mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Reduce DataChannelTimeout from 30s to 10s.
https://bugs.torproject.org/34042
This commit is contained in:
parent
c8293a5de3
commit
7043a055f9
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ const (
|
||||||
ReconnectTimeout = 10 * time.Second
|
ReconnectTimeout = 10 * time.Second
|
||||||
SnowflakeTimeout = 30 * time.Second
|
SnowflakeTimeout = 30 * time.Second
|
||||||
// How long to wait for the OnOpen callback on a DataChannel.
|
// How long to wait for the OnOpen callback on a DataChannel.
|
||||||
DataChannelTimeout = 30 * time.Second
|
DataChannelTimeout = 10 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
type dummyAddr struct{}
|
type dummyAddr struct{}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue