mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Also show message in the "error copying WebSocket to ORPort" case.
This was the only case out of the three not to show it.
This commit is contained in:
parent
50673d4943
commit
a4287095c0
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ func proxy(local *net.TCPConn, conn *websocketconn.WebSocketConn) {
|
|||
}()
|
||||
go func() {
|
||||
if _, err := io.Copy(local, conn); err != nil {
|
||||
log.Printf("error copying WebSocket to ORPort")
|
||||
log.Printf("error copying WebSocket to ORPort %v", err)
|
||||
}
|
||||
if err := local.CloseWrite(); err != nil {
|
||||
log.Printf("error closing write after copying WebSocket to ORPort %v", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue