|
@@ -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);
|