aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-10-22 07:55:44 +0000
committerRoger Dingledine <arma@torproject.org>2003-10-22 07:55:44 +0000
commitc6b442a346ac7e096198b9f89368239820290acd (patch)
treea018d42ec7b7ba288ab5d1354c766f43e033c31b /src/or/connection.c
parentb1eca56b77ba1316eb23587341319fbbe2bc6560 (diff)
downloadtor-c6b442a346ac7e096198b9f89368239820290acd.tar
tor-c6b442a346ac7e096198b9f89368239820290acd.tar.gz
make end relay cells have payloads
move default exit policy into config files svn:r653
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 0dcf2b94f..d19a4b4a4 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -642,7 +642,7 @@ int connection_send_destroy(aci_t aci, connection_t *conn) {
if(!connection_speaks_cells(conn)) {
log_fn(LOG_INFO,"Aci %d: At an edge. Marking connection for close.", aci);
- connection_edge_end(conn, NULL, 0, conn->cpath_layer);
+ connection_edge_end(conn, END_STREAM_REASON_DESTROY, conn->cpath_layer);
/* if they already sent a destroy, they know. XXX can just close? */
return 0;
}