From 941709ee50654b9ef59836fadbd8c4e7029c9fc1 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Sun, 7 Aug 2011 18:05:40 +0200 Subject: Server transport proxies should bind on the same port each time, if possible. --- src/or/transports.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/or/transports.h') 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); -- cgit v1.2.3