diff options
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/or.h b/src/or/or.h index e436e064f7..49c47caa30 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -534,10 +534,6 @@ typedef enum { /** How long to test reachability before complaining to the user. */ #define TIMEOUT_UNTIL_UNREACHABILITY_COMPLAINT (20*60) -/* people behind fascist firewalls use only these ports */ -#define REQUIRED_FIREWALL_DIRPORT 80 -#define REQUIRED_FIREWALL_ORPORT 443 - /* legal characters in a nickname */ #define LEGAL_NICKNAME_CHARACTERS \ "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" @@ -1689,10 +1685,6 @@ connection_t *connection_get_by_type_state_rendquery(int type, int state, const char *rendquery); #define connection_speaks_cells(conn) ((conn)->type == CONN_TYPE_OR) -#define connection_has_pending_tls_data(conn) \ - ((conn)->type == CONN_TYPE_OR && \ - (conn)->state == OR_CONN_STATE_OPEN && \ - tor_tls_get_pending_bytes((conn)->tls)) int connection_is_listener(connection_t *conn); int connection_state_is_open(connection_t *conn); int connection_state_is_connecting(connection_t *conn); |