diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-05 19:15:13 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-05 19:15:13 +0000 |
commit | 47ff0c7fc116a9f49c2a3a87928b38796a1e7c2f (patch) | |
tree | 89a8b2910465055591476d01520b54b3ad8a2fbf /src/or/control.c | |
parent | f02be02356a6cedcec2b01d5046e5d5cba0797ad (diff) | |
download | tor-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.c | 1 |
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; |