Suppress logs of EventOnProxyConnectionOver

This commit is contained in:
Cecylia Bocovich 2023-12-13 14:01:13 -05:00
parent 91ffc333d6
commit 9f330caa08
No known key found for this signature in database
GPG key ID: 009DE379FD9B7B90

View file

@ -25,6 +25,9 @@ func (p *proxyEventLogger) OnNewSnowflakeEvent(e event.SnowflakeEvent) {
if !p.disableStats {
p.logger.Println(e.String())
}
case event.EventOnProxyConnectionOver:
// Suppress logs of this event
// https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40310
default:
p.logger.Println(e.String())
}