aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-01-10 08:35:15 -0500
committerNick Mathewson <nickm@torproject.org>2017-01-13 12:10:53 -0500
commitfb8dad5cebe08e7cef1c026f8c878a9d2ab2dcae (patch)
tree748ed851d169bf2da434c851521602f2f4407f20 /src/or/connection_edge.h
parent655ffeadd53833d96a25a70261b31c60d6f0ac6d (diff)
downloadtor-fb8dad5cebe08e7cef1c026f8c878a9d2ab2dcae.tar.gz
tor-fb8dad5cebe08e7cef1c026f8c878a9d2ab2dcae.zip
hs: Log if service can't connect to application
In order to help an HS operator knowing if the application configured behind it is not working properly, add a log at warning level for the connection refused or timeout case. This log will only be printed if a client connection fails and is rate limited. Closes #21019 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/connection_edge.h')
-rw-r--r--src/or/connection_edge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h
index 5dfc8af901..61b5752aed 100644
--- a/src/or/connection_edge.h
+++ b/src/or/connection_edge.h
@@ -60,7 +60,7 @@ void connection_ap_handshake_socks_resolved_addr(entry_connection_t *conn,
int connection_exit_begin_conn(cell_t *cell, circuit_t *circ);
int connection_exit_begin_resolve(cell_t *cell, or_circuit_t *circ);
void connection_exit_connect(edge_connection_t *conn);
-int connection_edge_is_rendezvous_stream(edge_connection_t *conn);
+int connection_edge_is_rendezvous_stream(const edge_connection_t *conn);
int connection_ap_can_use_exit(const entry_connection_t *conn,
const node_t *exit);
void connection_ap_expire_beginning(void);