]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Merge commit 'public/socks-client'
authorNick Mathewson <nickm@torproject.org>
Wed, 26 Aug 2009 15:27:19 +0000 (11:27 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 26 Aug 2009 15:27:19 +0000 (11:27 -0400)
Resolved conflict in:
src/or/or.h

1  2 
doc/tor.1.in
src/or/buffers.c
src/or/config.c
src/or/connection.c
src/or/directory.c
src/or/or.h

diff --cc doc/tor.1.in
Simple merge
Simple merge
diff --cc src/or/config.c
Simple merge
Simple merge
Simple merge
diff --cc src/or/or.h
index 4d808fc3e3caaa74e18300a6dc7057fc9cdcabec,bb6cee1ba54b3eda764e0270e0964390758804a3..df57f3048d75c45dd1b070584e6a05a61bdc99c5
@@@ -932,6 -934,6 +945,9 @@@ typedef struct connection_t 
     * connection. */
    unsigned int linked_conn_is_closed:1;
  
++  /** CONNECT/SOCKS proxy client handshake state (for outgoing connections). */
++  unsigned int proxy_state:4;
++
    /** Our socket; -1 if this connection is closed, or has no socket. */
    evutil_socket_t s;
    int conn_array_index; /**< Index into the global connection array. */
     * to the evdns_server_port is uses to listen to and answer connections. */
    struct evdns_server_port *dns_server_port;
  
 -  /** CONNECT/SOCKS proxy client handshake state (for outgoing connections). */
 -  unsigned int proxy_state:4;
 +#ifdef ENABLE_DIRREQ_STATS
 +  /** Unique ID for measuring tunneled network status requests. */
 +  uint64_t dirreq_id;
 +#endif
  } connection_t;
  
  /** Stores flags and information related to the portion of a v2 Tor OR