Loading lib/url.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -719,7 +719,7 @@ CURLcode Curl_open(struct SessionHandle **curl) /* Set the default size of the SSL session ID cache */ /* Set the default size of the SSL session ID cache */ data->set.ssl.numsessions = 5; data->set.ssl.numsessions = 5; data->set.proxyport = 1080; data->set.proxyport = CURL_DEFAULT_PROXY_PORT; /* from url.h */ data->set.proxytype = CURLPROXY_HTTP; /* defaults to HTTP proxy */ data->set.proxytype = CURLPROXY_HTTP; /* defaults to HTTP proxy */ data->set.httpauth = CURLAUTH_BASIC; /* defaults to basic */ data->set.httpauth = CURLAUTH_BASIC; /* defaults to basic */ data->set.proxyauth = CURLAUTH_BASIC; /* defaults to basic */ data->set.proxyauth = CURLAUTH_BASIC; /* defaults to basic */ Loading lib/url.h +2 −11 Original line number Original line Diff line number Diff line Loading @@ -72,20 +72,11 @@ int Curl_removeHandleFromPipeline(struct SessionHandle *handle, void Curl_close_connections(struct SessionHandle *data); void Curl_close_connections(struct SessionHandle *data); #if 0 CURLcode Curl_protocol_fdset(struct connectdata *conn, fd_set *read_fd_set, fd_set *write_fd_set, int *max_fdp); CURLcode Curl_doing_fdset(struct connectdata *conn, fd_set *read_fd_set, fd_set *write_fd_set, int *max_fdp); #endif /* Called on connect, and if there's already a protocol-specific struct /* Called on connect, and if there's already a protocol-specific struct allocated for a different connection, this frees it that it can be setup allocated for a different connection, this frees it that it can be setup properly later on. */ properly later on. */ void Curl_reset_reqproto(struct connectdata *conn); void Curl_reset_reqproto(struct connectdata *conn); #define CURL_DEFAULT_PROXY_PORT 1080 /* default proxy port unless specified */ #endif #endif Loading
lib/url.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -719,7 +719,7 @@ CURLcode Curl_open(struct SessionHandle **curl) /* Set the default size of the SSL session ID cache */ /* Set the default size of the SSL session ID cache */ data->set.ssl.numsessions = 5; data->set.ssl.numsessions = 5; data->set.proxyport = 1080; data->set.proxyport = CURL_DEFAULT_PROXY_PORT; /* from url.h */ data->set.proxytype = CURLPROXY_HTTP; /* defaults to HTTP proxy */ data->set.proxytype = CURLPROXY_HTTP; /* defaults to HTTP proxy */ data->set.httpauth = CURLAUTH_BASIC; /* defaults to basic */ data->set.httpauth = CURLAUTH_BASIC; /* defaults to basic */ data->set.proxyauth = CURLAUTH_BASIC; /* defaults to basic */ data->set.proxyauth = CURLAUTH_BASIC; /* defaults to basic */ Loading
lib/url.h +2 −11 Original line number Original line Diff line number Diff line Loading @@ -72,20 +72,11 @@ int Curl_removeHandleFromPipeline(struct SessionHandle *handle, void Curl_close_connections(struct SessionHandle *data); void Curl_close_connections(struct SessionHandle *data); #if 0 CURLcode Curl_protocol_fdset(struct connectdata *conn, fd_set *read_fd_set, fd_set *write_fd_set, int *max_fdp); CURLcode Curl_doing_fdset(struct connectdata *conn, fd_set *read_fd_set, fd_set *write_fd_set, int *max_fdp); #endif /* Called on connect, and if there's already a protocol-specific struct /* Called on connect, and if there's already a protocol-specific struct allocated for a different connection, this frees it that it can be setup allocated for a different connection, this frees it that it can be setup properly later on. */ properly later on. */ void Curl_reset_reqproto(struct connectdata *conn); void Curl_reset_reqproto(struct connectdata *conn); #define CURL_DEFAULT_PROXY_PORT 1080 /* default proxy port unless specified */ #endif #endif