summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-05 14:50:05 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-05 14:50:05 +0000
commitb5c8a6183ac00782c8b5133791ee566c85f8d35f (patch)
treefbdf7789f3619120c2b5f0f542d4ebf0edb697de /src/or/connection_edge.c
parent92b0fc2e5339dbf6cb7281915d89d73d78257022 (diff)
downloadtor-b5c8a6183ac00782c8b5133791ee566c85f8d35f.tar.gz
tor-b5c8a6183ac00782c8b5133791ee566c85f8d35f.zip
r13452@kushana: nickm | 2007-06-20 09:52:55 -0400
Patch from Robert Hogan: Generate STREAM NEW events for dnsport requests and tunneled directory connections. Log when we are testing for hijacking. svn:r10737
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 2127c9e64a..78625a5ffd 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1946,6 +1946,8 @@ connection_ap_make_link(char *address, uint16_t port,
conn->_base.state = AP_CONN_STATE_CIRCUIT_WAIT;
+ control_event_stream_status(conn, STREAM_EVENT_NEW, 0);
+
/* attaching to a dirty circuit is fine */
if (connection_ap_handshake_attach_circuit(conn) < 0) {
connection_mark_unattached_ap(conn, END_STREAM_REASON_CANT_ATTACH);