diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-03-01 22:42:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-03-01 22:42:31 +0000 |
commit | afe414f070cee8ce1469fc6db8f51bb9e71c654d (patch) | |
tree | 75bf4f5349f0bfd7bab12433b200329f45e91e3a /src/or/dns.c | |
parent | 4ddf768a4fc98bfc2e18a7076bd0397967e3de5e (diff) | |
download | tor-afe414f070cee8ce1469fc6db8f51bb9e71c654d.tar.gz tor-afe414f070cee8ce1469fc6db8f51bb9e71c654d.zip |
Revise all calls to connection_edge_end to avoid sending MISC, and to take errno into account where possible.
svn:r3720
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 71dff34009..1c0310ef65 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -154,7 +154,7 @@ static void purge_expired_resolves(uint32_t now) { /* Connections should only be pending if they have no socket. */ tor_assert(pend->conn->s == -1); pendconn = pend->conn; - connection_edge_end(pendconn, END_STREAM_REASON_MISC, + connection_edge_end(pendconn, END_STREAM_REASON_TIMEOUT, pendconn->cpath_layer); circuit_detach_stream(circuit_get_by_conn(pendconn), pendconn); connection_free(pendconn); |