- Daniel Egger provided a patch that allows you to disable proxy support in

libcurl to somewhat reduce the size of the binary. Run configure
  --disable-proxy.
This commit is contained in:
Daniel Stenberg
2008-09-29 21:46:04 +00:00
parent 8f467b4288
commit f3ab5d5500
6 changed files with 41 additions and 8 deletions

View File

@@ -23,6 +23,7 @@
#include "setup.h"
#ifndef CURL_DISABLE_PROXY
#include <string.h>
#ifdef NEED_MALLOC_H
@@ -686,3 +687,6 @@ CURLcode Curl_SOCKS5(const char *proxy_name,
Curl_nonblock(sock, TRUE);
return CURLE_OK; /* Proxy was successful! */
}
#endif /* CURL_DISABLE_PROXY */