mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Remove support for oneshot mode
Due to a bug (#40098), legacy oneshot connections have not worked for awhile. Connections without the turbotunnel token would cause the server to crash. This fixes that bug by removing support altogether and simply closes the connection.
This commit is contained in:
parent
00e8415d8e
commit
c0b35076c9
2 changed files with 5 additions and 25 deletions
|
@ -279,7 +279,7 @@ func (l *SnowflakeListener) queueConn(conn net.Conn) error {
|
|||
}
|
||||
}
|
||||
|
||||
// SnowflakeClientConn is a wrapper for the underlying oneshot or turbotunnel
|
||||
// SnowflakeClientConn is a wrapper for the underlying turbotunnel
|
||||
// conn. We need to reference our client address map to determine the
|
||||
// remote address
|
||||
type SnowflakeClientConn struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue