summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/connection.c11
-rw-r--r--src/or/connection.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 04dba2b9b0..05688e5a4e 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -4150,17 +4150,6 @@ get_proxy_addrport(tor_addr_t *addr, uint16_t *port, int *proxy_type,
return 0;
}
-/** Returns true if connection <b>conn</b> is using a pluggable
- * transports proxy server. */
-int
-connection_uses_transport(connection_t *conn)
-{
- const transport_t *transport=NULL;
- find_transport_by_bridge_addrport(&conn->addr,
- conn->port,&transport);
- return transport ? 1 : 0;
-}
-
/** Returns the global proxy type used by tor. */
static int
get_proxy_type(void)
diff --git a/src/or/connection.h b/src/or/connection.h
index 51cf2a845a..be3de88aaa 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -60,7 +60,6 @@ int connection_read_proxy_handshake(connection_t *conn);
void log_failed_proxy_connection(connection_t *conn);
int get_proxy_addrport(tor_addr_t *addr, uint16_t *port, int *proxy_type,
const connection_t *conn);
-int connection_uses_transport(connection_t *conn);
int retry_all_listeners(smartlist_t *replaced_conns,
smartlist_t *new_conns);