#include "curl_setup.h"
#include "urldata.h"
#include "sendf.h"
#include "if2ip.h"
#include "strerror.h"
#include "connect.h"
#include "select.h"
#include "url.h"
#include "multiif.h"
#include "sockaddr.h"
#include "inet_ntop.h"
#include "inet_pton.h"
#include "vtls/vtls.h"
#include "progress.h"
#include "warnless.h"
#include "conncache.h"
#include "multihandle.h"
#include "system_win32.h"
#include "curl_printf.h"
#include "curl_memory.h"
#include "memdebug.h"
Go to the source code of this file.
Classes | |
struct | connfind |
Defines | |
#define | KEEPALIVE_FACTOR(x) |
#define | nosigpipe(x, y) Curl_nop_stmt |
Functions | |
static CURLcode | bindlocal (struct connectdata *conn, curl_socket_t sockfd, int af, unsigned int scope) |
static int | conn_is_conn (struct connectdata *conn, void *param) |
int | Curl_closesocket (struct connectdata *conn, curl_socket_t sock) |
bool | Curl_conn_data_pending (struct connectdata *conn, int sockindex) |
bool | Curl_connalive (struct connectdata *conn) |
void | Curl_conncontrol (struct connectdata *conn, int ctrl) |
CURLcode | Curl_connecthost (struct connectdata *conn, const struct Curl_dns_entry *remotehost) |
curl_socket_t | Curl_getconnectinfo (struct Curl_easy *data, struct connectdata **connp) |
CURLcode | Curl_is_connected (struct connectdata *conn, int sockindex, bool *connected) |
void | Curl_persistconninfo (struct connectdata *conn) |
CURLcode | Curl_socket (struct connectdata *conn, const Curl_addrinfo *ai, struct Curl_sockaddr_ex *addr, curl_socket_t *sockfd) |
void | Curl_tcpnodelay (struct connectdata *conn, curl_socket_t sockfd) |
time_t | Curl_timeleft (struct Curl_easy *data, struct timeval *nowp, bool duringconnect) |
void | Curl_updateconninfo (struct connectdata *conn, curl_socket_t sockfd) |
static bool | getaddressinfo (struct sockaddr *sa, char *addr, long *port) |
static CURLcode | singleipconnect (struct connectdata *conn, const Curl_addrinfo *ai, curl_socket_t *sock) |
static void | tcpkeepalive (struct Curl_easy *data, curl_socket_t sockfd) |
static CURLcode | trynextip (struct connectdata *conn, int sockindex, int tempindex) |
static bool | verifyconnect (curl_socket_t sockfd, int *error) |
#define KEEPALIVE_FACTOR | ( | x | ) |
static CURLcode bindlocal | ( | struct connectdata * | conn, |
curl_socket_t | sockfd, | ||
int | af, | ||
unsigned int | scope | ||
) | [static] |
static int conn_is_conn | ( | struct connectdata * | conn, |
void * | param | ||
) | [static] |
int Curl_closesocket | ( | struct connectdata * | conn, |
curl_socket_t | sock | ||
) |
bool Curl_conn_data_pending | ( | struct connectdata * | conn, |
int | sockindex | ||
) |
bool Curl_connalive | ( | struct connectdata * | conn | ) |
void Curl_conncontrol | ( | struct connectdata * | conn, |
int | ctrl | ||
) |
CURLcode Curl_connecthost | ( | struct connectdata * | conn, |
const struct Curl_dns_entry * | remotehost | ||
) |
curl_socket_t Curl_getconnectinfo | ( | struct Curl_easy * | data, |
struct connectdata ** | connp | ||
) |
CURLcode Curl_is_connected | ( | struct connectdata * | conn, |
int | sockindex, | ||
bool * | connected | ||
) |
void Curl_persistconninfo | ( | struct connectdata * | conn | ) |
CURLcode Curl_socket | ( | struct connectdata * | conn, |
const Curl_addrinfo * | ai, | ||
struct Curl_sockaddr_ex * | addr, | ||
curl_socket_t * | sockfd | ||
) |
void Curl_tcpnodelay | ( | struct connectdata * | conn, |
curl_socket_t | sockfd | ||
) |
time_t Curl_timeleft | ( | struct Curl_easy * | data, |
struct timeval * | nowp, | ||
bool | duringconnect | ||
) |
void Curl_updateconninfo | ( | struct connectdata * | conn, |
curl_socket_t | sockfd | ||
) |
static bool getaddressinfo | ( | struct sockaddr * | sa, |
char * | addr, | ||
long * | port | ||
) | [static] |
static CURLcode singleipconnect | ( | struct connectdata * | conn, |
const Curl_addrinfo * | ai, | ||
curl_socket_t * | sock | ||
) | [static] |
static void tcpkeepalive | ( | struct Curl_easy * | data, |
curl_socket_t | sockfd | ||
) | [static] |
static CURLcode trynextip | ( | struct connectdata * | conn, |
int | sockindex, | ||
int | tempindex | ||
) | [static] |
static bool verifyconnect | ( | curl_socket_t | sockfd, |
int * | error | ||
) | [static] |