|
static void | check_keepalive_connections (void) |
static void | notify_connection_callbacks (struct connection *conn) |
static connection_priority_T | get_priority (struct connection *conn) |
int | get_connections_count (void) |
int | get_keepalive_connections_count (void) |
int | get_connections_connecting_count (void) |
int | get_connections_transfering_count (void) |
static int | connection_disappeared (struct connection *conn, unsigned int id) |
| Check whether the pointer conn still points to a connection with the given id.
|
static struct host_connection * | get_host_connection (struct connection *conn) |
static int | add_host_connection (struct connection *conn) |
static void | done_host_connection (struct connection *conn) |
static void | sort_queue () |
static void | check_queue_bugs (void) |
static void | set_connection_socket_state (struct socket *socket, struct connection_state state) |
static void | set_connection_socket_timeout (struct socket *socket, struct connection_state state) |
static void | retry_connection_socket (struct socket *socket, struct connection_state state) |
static void | done_connection_socket (struct socket *socket, struct connection_state state) |
static struct connection * | init_connection (struct uri *uri, struct uri *proxied_uri, struct uri *referrer, off_t start, cache_mode_T cache_mode, connection_priority_T priority) |
static void | update_connection_progress (struct connection *conn) |
static void | stat_timer (struct connection *conn) |
| Progress timer callback for conn->progress.
|
static void | upload_stat_timer (struct connection *conn) |
| Progress timer callback for conn->upload_progress.
|
void | set_connection_state (struct connection *conn, struct connection_state state) |
void | shutdown_connection_stream (struct connection *conn) |
static void | free_connection_data (struct connection *conn) |
static void | done_connection (struct connection *conn) |
static void | add_to_queue (struct connection *conn) |
static int | do_keepalive_connection_callback (struct keepalive_connection *keep_conn) |
static void | done_keepalive_connection (struct keepalive_connection *keep_conn) |
static struct keepalive_connection * | init_keepalive_connection (struct connection *conn, long timeout_in_seconds, void(*done)(struct connection *)) |
static struct keepalive_connection * | get_keepalive_connection (struct connection *conn) |
int | has_keepalive_connection (struct connection *conn) |
void | add_keepalive_connection (struct connection *conn, long timeout_in_seconds, void(*done)(struct connection *)) |
static void | keepalive_timer (void *x) |
static void | abort_all_keepalive_connections (void) |
static void | interrupt_connection (struct connection *conn) |
static void | suspend_connection (struct connection *conn) |
static void | run_connection (struct connection *conn) |
void | abort_connection (struct connection *conn, struct connection_state state) |
void | retry_connection (struct connection *conn, struct connection_state state) |
static int | try_to_suspend_connection (struct connection *conn, struct uri *uri) |
static int | try_connection (struct connection *conn, int max_conns_to_host, int max_conns) |
static void | check_queue (void) |
int | register_check_queue (void) |
int | load_uri (struct uri *uri, struct uri *referrer, struct download *download, connection_priority_T pri, cache_mode_T cache_mode, off_t start) |
void | cancel_download (struct download *download, int interrupt) |
void | move_download (struct download *old, struct download *new_, connection_priority_T newpri) |
void | detach_connection (struct download *download, off_t pos) |
static void | connection_timeout (struct connection *conn) |
static void | connection_timeout_1 (struct connection *conn) |
void | set_connection_timeout (struct connection *conn) |
static void | connection_timeout_xhr_1 (struct connection *conn) |
void | set_connection_timeout_xhr (struct connection *conn, milliseconds_T timeout) |
void | abort_all_connections (void) |
void | abort_background_connections (void) |
int | is_entry_used (struct cache_entry *cached) |