diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-08-07 18:05:40 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-08-07 18:05:40 +0200 |
commit | 941709ee50654b9ef59836fadbd8c4e7029c9fc1 (patch) | |
tree | a26ba33202de41b41c5bcf2e96d070e72484c6af /src/or/transports.h | |
parent | cfb473ed348063e1f1abd709ac313f14d33cadf5 (diff) | |
download | tor-941709ee50654b9ef59836fadbd8c4e7029c9fc1.tar tor-941709ee50654b9ef59836fadbd8c4e7029c9fc1.tar.gz |
Server transport proxies should bind on the same port each time, if possible.
Diffstat (limited to 'src/or/transports.h')
-rw-r--r-- | src/or/transports.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/transports.h b/src/or/transports.h index 17a68030d..8bd79fe64 100644 --- a/src/or/transports.h +++ b/src/or/transports.h @@ -40,10 +40,12 @@ typedef struct { enum pt_proto_state conf_state; /* the current configuration state */ int conf_protocol; /* the configuration protocol version used */ + int is_server; /* is it a server proxy? */ + FILE *stdout; /* a stream to its stdout (closed in managed_proxy_destroy()) */ - smartlist_t *transports; /* list of transports this proxy spawns */ + smartlist_t *transports; /* list of transport_t this proxy spawns */ } managed_proxy_t; int parse_cmethod_line(char *line, managed_proxy_t *mp); |