mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Log write on the server side.
This commit is contained in:
parent
c519813cf7
commit
bf2a825fce
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ func (c *webRTCConn) Read(b []byte) (int, error) {
|
|||
}
|
||||
|
||||
func (c *webRTCConn) Write(b []byte) (int, error) {
|
||||
log.Printf("webrtc Write %d %+q", len(b), string(b))
|
||||
c.dc.Send(b)
|
||||
return len(b), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue