summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-02-05 19:15:13 +0000
committerNick Mathewson <nickm@torproject.org>2007-02-05 19:15:13 +0000
commit47ff0c7fc116a9f49c2a3a87928b38796a1e7c2f (patch)
tree89a8b2910465055591476d01520b54b3ad8a2fbf /src/or/control.c
parentf02be02356a6cedcec2b01d5046e5d5cba0797ad (diff)
downloadtor-47ff0c7fc116a9f49c2a3a87928b38796a1e7c2f.tar.gz
tor-47ff0c7fc116a9f49c2a3a87928b38796a1e7c2f.zip
r11641@catbus: nickm | 2007-02-05 13:59:26 -0500
Add a REMAP state to stream events so that controllers can learn exactly when the target address for a stream has changed. May help Vidalia resolve confusions related to bug 375. svn:r9484
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c
index efff7019b6..c7ee25b8cb 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -3206,6 +3206,7 @@ control_event_stream_status(edge_connection_t *conn, stream_status_event_t tp,
case STREAM_EVENT_NEW: status = "NEW"; break;
case STREAM_EVENT_NEW_RESOLVE: status = "NEWRESOLVE"; break;
case STREAM_EVENT_FAILED_RETRIABLE: status = "DETACHED"; break;
+ case STREAM_EVENT_REMAP: status = "REMAP"; break;
default:
log_warn(LD_BUG, "Unrecognized status code %d", (int)tp);
return 0;