From 34d837c2dd1915e4e491460858c3481548ad067f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 5 Apr 2008 21:13:31 +0000 Subject: provide CURL_DEFAULT_PROXY_PORT set to 1080 for the default port libcurl assumes proxies to use --- lib/url.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'lib/url.h') diff --git a/lib/url.h b/lib/url.h index e38138f91..229f40866 100644 --- a/lib/url.h +++ b/lib/url.h @@ -72,20 +72,11 @@ int Curl_removeHandleFromPipeline(struct SessionHandle *handle, 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 allocated for a different connection, this frees it that it can be setup properly later on. */ void Curl_reset_reqproto(struct connectdata *conn); +#define CURL_DEFAULT_PROXY_PORT 1080 /* default proxy port unless specified */ + #endif -- cgit v1.2.3