Miklos Nemeth added a section for how to disable specific protocols in the
windows build.
This commit is contained in:
parent
4ad4f3fc70
commit
414afe0935
24
docs/INSTALL
24
docs/INSTALL
@ -236,6 +236,30 @@ Win32
|
|||||||
project properties to use the SSL include path, link with the SSL libs
|
project properties to use the SSL include path, link with the SSL libs
|
||||||
and define the USE_SSLEAY symbol.
|
and define the USE_SSLEAY symbol.
|
||||||
|
|
||||||
|
Disabling Specific Protocols:
|
||||||
|
|
||||||
|
The configure utility, unfortunately, is not available for the Windows
|
||||||
|
environment, therefore, you cannot use the various disable-protocol
|
||||||
|
options of the configure utility on this platform.
|
||||||
|
|
||||||
|
However, you can use the following defines to disable specific
|
||||||
|
protocols:
|
||||||
|
|
||||||
|
HTTP_ONLY disables all protocols except HTTP
|
||||||
|
CURL_DISABLE_FTP disables FTP
|
||||||
|
CURL_DISABLE_LDAP disables LDAP
|
||||||
|
CURL_DISABLE_TELNET disables TELNET
|
||||||
|
CURL_DISABLE_DICT disables DICT
|
||||||
|
CURL_DISABLE_FILE disables FILE
|
||||||
|
CURL_DISABLE_GOPHER disables GOPHER
|
||||||
|
|
||||||
|
If you want to set any of these defines you have the following
|
||||||
|
possibilities:
|
||||||
|
|
||||||
|
- Modify lib/setup.h
|
||||||
|
- Modify lib/Makefile.vc6
|
||||||
|
- Add defines to Project/Settings/C/C++/General/Preprocessor Definitions
|
||||||
|
in the curllib.dsw/curllib.dsp Visual C++ 6 IDE project.
|
||||||
|
|
||||||
IBM OS/2
|
IBM OS/2
|
||||||
========
|
========
|
||||||
|
Loading…
x
Reference in New Issue
Block a user