mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Remove bad relay pattern log message
We already count proxies rejected for their supported relay URL in snowflake metrics and these messages are filling up our broker logs.
This commit is contained in:
parent
8343bbc336
commit
c0ac0186f1
1 changed files with 0 additions and 1 deletions
|
@ -91,7 +91,6 @@ func (i *IPC) ProxyPolls(arg messages.Arg, response *[]byte) error {
|
|||
i.ctx.metrics.promMetrics.ProxyPollRejectedForRelayURLExtensionTotal.With(prometheus.Labels{"nat": natType, "type": proxyType}).Inc()
|
||||
i.ctx.metrics.lock.Unlock()
|
||||
|
||||
log.Printf("bad request: rejected relay pattern from proxy = %v", messages.ErrBadRequest)
|
||||
b, err := messages.EncodePollResponseWithRelayURL("", false, "", "", "incorrect relay pattern")
|
||||
*response = b
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue