[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [pluggable-transports/snowflake] 05/05: Broker: add warning log when proxy couldn't mach with client



This is an automated email from the git hooks/post-receive script.

itchyonion pushed a commit to branch main
in repository pluggable-transports/snowflake.

commit 88608ad44a00d2a23680800d54ed03b167c09c89
Author: itchyonion <itchyonion@xxxxxxxxxxxxxx>
AuthorDate: Wed Mar 22 21:26:46 2023 -0700

    Broker: add warning log when proxy couldn't mach with client
---
 broker/ipc.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/broker/ipc.go b/broker/ipc.go
index f9984c4..a1397d8 100644
--- a/broker/ipc.go
+++ b/broker/ipc.go
@@ -266,6 +266,7 @@ func (i *IPC) ProxyAnswers(arg messages.Arg, response *[]byte) error {
 		// The snowflake took too long to respond with an answer, so its client
 		// disappeared / the snowflake is no longer recognized by the Broker.
 		success = false
+		log.Printf("Warning: matching with snowflake client failed")
 	}
 
 	b, err := messages.EncodeAnswerResponse(success)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits