diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-11-14 00:06:02 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-11-14 00:06:02 +0000 |
commit | fa6fbbc150a0f8e750c979af3c0d2d1278b856dd (patch) | |
tree | 0c17abbce40bca17d3221e09d668dad20aeb4d5c /src/or/or.h | |
parent | d245d413a94e97e65cd882aa43dc4af4b440f940 (diff) | |
download | tor-fa6fbbc150a0f8e750c979af3c0d2d1278b856dd.tar.gz tor-fa6fbbc150a0f8e750c979af3c0d2d1278b856dd.zip |
r9307@totoro: nickm | 2006-11-13 18:25:56 -0500
Patch from tup based on patch from Zajcev Evgeny: Make TransPort work even when the server wants to talk before the client.
svn:r8945
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h index f2663695e5..68b36d45dd 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -294,10 +294,7 @@ typedef enum { #define AP_CONN_STATE_RESOLVE_WAIT 10 /** State for a SOCKS connection: ready to send and receive. */ #define AP_CONN_STATE_OPEN 11 -/** State for a transparent proxy connection: waiting for original - * destination. */ -#define AP_CONN_STATE_ORIGDST_WAIT 12 -#define _AP_CONN_STATE_MAX 12 +#define _AP_CONN_STATE_MAX 11 #define _DIR_CONN_STATE_MIN 1 /** State for connection to directory server: waiting for connect(). */ @@ -1993,6 +1990,7 @@ void circuit_discard_optional_exit_enclaves(extend_info_t *info); int connection_ap_detach_retriable(edge_connection_t *conn, origin_circuit_t *circ, int reason); +int connection_ap_process_transparent(edge_connection_t *conn); void addressmap_init(void); void addressmap_clean(time_t now); |