mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Remove ThroughputSummary from bytesLogger
This was leftover from when we used to log the total throughput of connections when they close. It should be removed for privacy reasons as mentioned in https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40079
This commit is contained in:
parent
10fb9afaa7
commit
939062c7dd
2 changed files with 0 additions and 18 deletions
|
@ -438,7 +438,6 @@ func (sf *SnowflakeProxy) makePeerConnectionFromOffer(sdp *webrtc.SessionDescrip
|
|||
conn.lock.Lock()
|
||||
defer conn.lock.Unlock()
|
||||
log.Printf("Data Channel %s-%d close\n", dc.Label(), dc.ID())
|
||||
log.Println(conn.bytesLogger.ThroughputSummary())
|
||||
in, out := conn.bytesLogger.GetStat()
|
||||
conn.eventLogger.OnNewSnowflakeEvent(event.EventOnProxyConnectionOver{
|
||||
InboundTraffic: in,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue