mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:13:31 +03:00
- 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:
parent
8f467b4288
commit
f3ab5d5500
6 changed files with 41 additions and 8 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue