mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 05:30:33 +03:00
Merge pull request #2121 from AndrejMitrovic/Fix8756
Issue 8756 - Add link to location of curl static library
This commit is contained in:
commit
87b5d3991f
2 changed files with 11 additions and 3 deletions
|
@ -3,6 +3,10 @@
|
|||
|
||||
Converted to D from curl headers by $(LINK2 http://www.digitalmars.com/d/2.0/htod.html, htod) and
|
||||
cleaned up by Jonas Drewsen (jdrewsen)
|
||||
|
||||
Windows x86 note:
|
||||
A DMD compatible libcurl static library can be downloaded from the dlang.org
|
||||
$(LINK2 http://dlang.org/download.html, download page).
|
||||
*/
|
||||
|
||||
/* **************************************************************************
|
||||
|
|
|
@ -20,6 +20,10 @@ Networking client functionality as provided by $(WEB _curl.haxx.se/libcurl,
|
|||
libcurl). The libcurl library must be installed on the system in order to use
|
||||
this module.
|
||||
|
||||
Windows x86 note:
|
||||
A DMD compatible libcurl static library can be downloaded from the dlang.org
|
||||
$(LINK2 http://dlang.org/download.html, download page).
|
||||
|
||||
Compared to using libcurl directly this module allows simpler client code for
|
||||
common uses, requires no unsafe operations, and integrates better with the rest
|
||||
of the language. Futhermore it provides <a href="std_range.html">$(D range)</a>
|
||||
|
@ -3562,9 +3566,9 @@ struct Curl
|
|||
copy.clear(option);
|
||||
}
|
||||
|
||||
// The options are only supported by libcurl when it has been built
|
||||
// against certain versions of OpenSSL - if your libcurl uses an old
|
||||
// OpenSSL, or uses an entirely different SSL engine, attempting to
|
||||
// The options are only supported by libcurl when it has been built
|
||||
// against certain versions of OpenSSL - if your libcurl uses an old
|
||||
// OpenSSL, or uses an entirely different SSL engine, attempting to
|
||||
// clear these normally will raise an exception
|
||||
copy.clearIfSupported(CurlOption.ssl_ctx_function);
|
||||
copy.clearIfSupported(CurlOption.ssh_keydata);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue