Note a strange case for SOCKS streams.

This commit is contained in:
Mike Perry
2012-11-21 16:40:25 -08:00
parent 7a28862d56
commit ecaeb505fa
+1
View File
@@ -2181,6 +2181,7 @@ connection_ap_handshake_socks_reply(entry_connection_t *conn, char *reply,
if (status == SOCKS5_SUCCEEDED) {
if(!conn->edge_.on_circuit ||
!CIRCUIT_IS_ORIGIN(conn->edge_.on_circuit)) {
// XXX: Weird. We hit this a lot, and yet have no unusable_circs
log_warn(LD_BUG, "No origin circuit for successful SOCKS stream");
} else {
TO_ORIGIN_CIRCUIT(conn->edge_.on_circuit)->any_streams_succeeded = 1;