diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2011-10-23 14:58:00 -0700 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-10-26 23:21:11 +0200 |
commit | c05bb53508f5fe3e570a285e6c9ead452ded0e43 (patch) | |
tree | 76eef9be5a2025f71988b27e2464ac2ec77e9a94 /src/or/connection_or.c | |
parent | af12c39d6de5bbcd24915db3c4cc9404f102ac02 (diff) | |
download | tor-c05bb53508f5fe3e570a285e6c9ead452ded0e43.tar.gz tor-c05bb53508f5fe3e570a285e6c9ead452ded0e43.zip |
Mark which OR connections are outgoing
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 35f6da9214..f019c79edd 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -776,6 +776,8 @@ connection_or_connect(const tor_addr_t *_addr, uint16_t port, conn->_base.state = OR_CONN_STATE_CONNECTING; control_event_or_conn_status(conn, OR_CONN_EVENT_LAUNCHED, 0); + conn->is_outgoing = 1; + if (options->HttpsProxy) { /* we shouldn't connect directly. use the https proxy instead. */ tor_addr_from_ipv4h(&addr, options->HttpsProxyAddr); |