aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritchyonion <itchyonion@torproject.org>2023-03-22 21:26:46 -0700
committeritchyonion <itchyonion@torproject.org>2023-05-29 10:12:48 -0700
commit88608ad44a00d2a23680800d54ed03b167c09c89 (patch)
tree6b0db068aeaaa97f38747c4407e84fcb7a161a28
parent6c431800b06601a25c3372ebcd3da53cdbac602d (diff)
downloadsnowflake-88608ad44a00d2a23680800d54ed03b167c09c89.tar.gz
snowflake-88608ad44a00d2a23680800d54ed03b167c09c89.zip
Broker: add warning log when proxy couldn't mach with client
-rw-r--r--broker/ipc.go1
1 files changed, 1 insertions, 0 deletions
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)