mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
URLs: change more http to https
This commit is contained in:
parent
742deff4dd
commit
d49881cb19
38
CHANGES.0
38
CHANGES.0
@ -343,7 +343,7 @@ Daniel Stenberg (23 Mar 2010)
|
|||||||
(https://curl.haxx.se/bug/view.cgi?id=2963679)
|
(https://curl.haxx.se/bug/view.cgi?id=2963679)
|
||||||
|
|
||||||
- Akos Pasztory filed debian bug report #572276
|
- Akos Pasztory filed debian bug report #572276
|
||||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572276 mentioning a problem
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572276 mentioning a problem
|
||||||
with a resource that returns chunked-encoded _and_ with a Content-Length
|
with a resource that returns chunked-encoded _and_ with a Content-Length
|
||||||
and libcurl failed to properly ignore the latter information.
|
and libcurl failed to properly ignore the latter information.
|
||||||
|
|
||||||
@ -1608,7 +1608,7 @@ Daniel Stenberg (28 Apr 2009)
|
|||||||
- Constantine Sapuntzakis filed bug report #2783090
|
- Constantine Sapuntzakis filed bug report #2783090
|
||||||
(https://curl.haxx.se/bug/view.cgi?id=2783090) pointing out that on windows
|
(https://curl.haxx.se/bug/view.cgi?id=2783090) pointing out that on windows
|
||||||
we need to grow the SO_SNDBUF buffer somewhat to get really good upload
|
we need to grow the SO_SNDBUF buffer somewhat to get really good upload
|
||||||
speeds. http://support.microsoft.com/kb/823764 has the details. Friends
|
speeds. https://support.microsoft.com/kb/823764 has the details. Friends
|
||||||
confirmed that simply adding 32 to CURL_MAX_WRITE_SIZE is enough.
|
confirmed that simply adding 32 to CURL_MAX_WRITE_SIZE is enough.
|
||||||
|
|
||||||
- Bug report #2709004 (https://curl.haxx.se/bug/view.cgi?id=2709004) by Tim
|
- Bug report #2709004 (https://curl.haxx.se/bug/view.cgi?id=2709004) by Tim
|
||||||
@ -3290,7 +3290,7 @@ Daniel Fandrich (25 Jun 2008)
|
|||||||
|
|
||||||
Daniel Stenberg (22 Jun 2008)
|
Daniel Stenberg (22 Jun 2008)
|
||||||
- Eduard Bloch filed the debian bug report #487567
|
- Eduard Bloch filed the debian bug report #487567
|
||||||
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567) pointing out that
|
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567) pointing out that
|
||||||
libcurl used Content-Range: instead of Range when doing a range request with
|
libcurl used Content-Range: instead of Range when doing a range request with
|
||||||
--head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to
|
--head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to
|
||||||
verify.
|
verify.
|
||||||
@ -3486,7 +3486,7 @@ Michal Marek (9 May 2008)
|
|||||||
|
|
||||||
Daniel Stenberg (7 May 2008)
|
Daniel Stenberg (7 May 2008)
|
||||||
- Liam Healy filed the debian bug report #480044
|
- Liam Healy filed the debian bug report #480044
|
||||||
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480044) identifying a
|
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480044) identifying a
|
||||||
segfault when using krb5 ftp, but the krb4 code had the same problem.
|
segfault when using krb5 ftp, but the krb4 code had the same problem.
|
||||||
|
|
||||||
Yang Tse (7 May 2008)
|
Yang Tse (7 May 2008)
|
||||||
@ -3896,7 +3896,7 @@ Daniel S (3 Feb 2008)
|
|||||||
Daniel S (31 Jan 2008)
|
Daniel S (31 Jan 2008)
|
||||||
- Niklas Angebrand made the cookie support in libcurl properly deal with the
|
- Niklas Angebrand made the cookie support in libcurl properly deal with the
|
||||||
"HttpOnly" feature introduced by Microsoft and apparently also supported by
|
"HttpOnly" feature introduced by Microsoft and apparently also supported by
|
||||||
Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly
|
Firefox: https://msdn.microsoft.com/en-us/library/ms533046.aspx . HttpOnly
|
||||||
is now supported when received from servers in HTTP headers, when written to
|
is now supported when received from servers in HTTP headers, when written to
|
||||||
cookie jars and when read from existing cookie jars.
|
cookie jars and when read from existing cookie jars.
|
||||||
|
|
||||||
@ -5538,7 +5538,7 @@ Daniel (13 February 2007)
|
|||||||
|
|
||||||
Daniel (12 February 2007)
|
Daniel (12 February 2007)
|
||||||
- Rob Crittenden added support for NSS (Network Security Service) for the
|
- Rob Crittenden added support for NSS (Network Security Service) for the
|
||||||
SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/
|
SSL/TLS layer. https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS
|
||||||
|
|
||||||
This is the fourth supported library for TLS/SSL that libcurl supports!
|
This is the fourth supported library for TLS/SSL that libcurl supports!
|
||||||
|
|
||||||
@ -5696,7 +5696,7 @@ Daniel (2 January 2007)
|
|||||||
- Modified libcurl.pc.in to use Libs.private for the libs libcurl itself needs
|
- Modified libcurl.pc.in to use Libs.private for the libs libcurl itself needs
|
||||||
to get built static. It has been mentioned before and was again brought to
|
to get built static. It has been mentioned before and was again brought to
|
||||||
our attention by Nathanael Nerode who filed debian bug report #405226
|
our attention by Nathanael Nerode who filed debian bug report #405226
|
||||||
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405226).
|
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405226).
|
||||||
|
|
||||||
Daniel (29 December 2006)
|
Daniel (29 December 2006)
|
||||||
- Make curl_easy_duphandle() set the magic number in the new handle.
|
- Make curl_easy_duphandle() set the magic number in the new handle.
|
||||||
@ -6287,7 +6287,7 @@ Daniel (8 June 2006)
|
|||||||
route of skipping them for *-*-cygwin*.
|
route of skipping them for *-*-cygwin*.
|
||||||
|
|
||||||
The third patch replaces all uses of the ancient and obsolete __CYGWIN32__
|
The third patch replaces all uses of the ancient and obsolete __CYGWIN32__
|
||||||
with __CYGWIN__. Ref: <http://cygwin.com/ml/cygwin/2003-09/msg01520.html>.
|
with __CYGWIN__. Ref: <https://cygwin.com/ml/cygwin/2003-09/msg01520.html>.
|
||||||
|
|
||||||
Daniel (7 June 2006)
|
Daniel (7 June 2006)
|
||||||
- Mikael Sennerholm provided a patch that added NTLM2 session response support
|
- Mikael Sennerholm provided a patch that added NTLM2 session response support
|
||||||
@ -6854,7 +6854,7 @@ Daniel (14 November 2005)
|
|||||||
but it should not do any harm. https://curl.haxx.se/bug/view.cgi?id=1356715
|
but it should not do any harm. https://curl.haxx.se/bug/view.cgi?id=1356715
|
||||||
|
|
||||||
- Jan Kunder's debian bug report
|
- Jan Kunder's debian bug report
|
||||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338680 identified a weird
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338680 identified a weird
|
||||||
error message for when you try to upload a file and the requested directory
|
error message for when you try to upload a file and the requested directory
|
||||||
doesn't exist on the target server.
|
doesn't exist on the target server.
|
||||||
|
|
||||||
@ -6864,7 +6864,7 @@ Daniel (14 November 2005)
|
|||||||
Daniel (13 November 2005)
|
Daniel (13 November 2005)
|
||||||
- Debian bug report 338681 by Jan Kunder: make curl better detect and report
|
- Debian bug report 338681 by Jan Kunder: make curl better detect and report
|
||||||
bad limit-rate units:
|
bad limit-rate units:
|
||||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338681 Now curl will return
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338681 Now curl will return
|
||||||
error if a bad unit is used.
|
error if a bad unit is used.
|
||||||
|
|
||||||
- Thanks to this nice summary of poll() implementations:
|
- Thanks to this nice summary of poll() implementations:
|
||||||
@ -7040,15 +7040,15 @@ Daniel (27 September 2005)
|
|||||||
|
|
||||||
Daniel (21 September 2005)
|
Daniel (21 September 2005)
|
||||||
- Fixed "cut off" sentence in the libcurl-tutorial man page:
|
- Fixed "cut off" sentence in the libcurl-tutorial man page:
|
||||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329305
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329305
|
||||||
|
|
||||||
- Clarified in the curl_easy_setopt man page what the default
|
- Clarified in the curl_easy_setopt man page what the default
|
||||||
CURLOPT_WRITEFUNCTION and CURLOPT_WRITEDATA mean:
|
CURLOPT_WRITEFUNCTION and CURLOPT_WRITEDATA mean:
|
||||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329311
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329311
|
||||||
|
|
||||||
- Clarified in the curl_easy_setopt man page that CURLOPT_ERRORBUFFER
|
- Clarified in the curl_easy_setopt man page that CURLOPT_ERRORBUFFER
|
||||||
sometimes doesn't fill in the buffer even though it is supposed to:
|
sometimes doesn't fill in the buffer even though it is supposed to:
|
||||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329313
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329313
|
||||||
|
|
||||||
- When CURLE_URL_MALFORMAT is returned due to a missing URL, it now has an
|
- When CURLE_URL_MALFORMAT is returned due to a missing URL, it now has an
|
||||||
error string set.
|
error string set.
|
||||||
@ -7075,7 +7075,7 @@ Daniel (6 September 2005)
|
|||||||
Daniel (4 September 2005)
|
Daniel (4 September 2005)
|
||||||
- I applied Nicolas François' man page patch he posted to the Debian bug
|
- I applied Nicolas François' man page patch he posted to the Debian bug
|
||||||
tracker. It corrected two lines that started with apostrophes, which isn't
|
tracker. It corrected two lines that started with apostrophes, which isn't
|
||||||
legal nroff format. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326511
|
legal nroff format. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326511
|
||||||
|
|
||||||
- Added --ftp-skip-pasv-ip to the command line tool, that sets the new
|
- Added --ftp-skip-pasv-ip to the command line tool, that sets the new
|
||||||
CURLOPT_FTP_SKIP_PASV_IP option. It makes libcurl re-use the control
|
CURLOPT_FTP_SKIP_PASV_IP option. It makes libcurl re-use the control
|
||||||
@ -7301,7 +7301,7 @@ Daniel (30 May 2005)
|
|||||||
- Eric Cooper reported about a problem with HTTP servers that responds with
|
- Eric Cooper reported about a problem with HTTP servers that responds with
|
||||||
binary zeroes within the headers. They confused libcurl to do wrong so the
|
binary zeroes within the headers. They confused libcurl to do wrong so the
|
||||||
downloaded headers become incomplete. The fix is now verified with test case
|
downloaded headers become incomplete. The fix is now verified with test case
|
||||||
262. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310948
|
262. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310948
|
||||||
|
|
||||||
Daniel (25 May 2005)
|
Daniel (25 May 2005)
|
||||||
- Fixed problems with the test suite, and in particular the FTP test cases
|
- Fixed problems with the test suite, and in particular the FTP test cases
|
||||||
@ -7658,7 +7658,7 @@ Daniel (4 March 2005)
|
|||||||
Daniel (22 February 2005)
|
Daniel (22 February 2005)
|
||||||
- NTLM and ftp-krb4 buffer overflow fixed, as reported here:
|
- NTLM and ftp-krb4 buffer overflow fixed, as reported here:
|
||||||
http://www.securityfocus.com/archive/1/391042 and the CAN report here:
|
http://www.securityfocus.com/archive/1/391042 and the CAN report here:
|
||||||
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0490
|
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0490
|
||||||
|
|
||||||
If these security guys were serious, we'd been notified in advance and we
|
If these security guys were serious, we'd been notified in advance and we
|
||||||
could've saved a few of you a little surprise, but now we weren't.
|
could've saved a few of you a little surprise, but now we weren't.
|
||||||
@ -7918,7 +7918,7 @@ Daniel (13 January 2005)
|
|||||||
http://www.greenhills.co.uk/mak/gentoo/curl-eintr-bug.c, I now made the
|
http://www.greenhills.co.uk/mak/gentoo/curl-eintr-bug.c, I now made the
|
||||||
select() and poll() calls properly loop if they return -1 and errno is
|
select() and poll() calls properly loop if they return -1 and errno is
|
||||||
EINTR. glibc docs for this is found here:
|
EINTR. glibc docs for this is found here:
|
||||||
http://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html
|
https://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html
|
||||||
|
|
||||||
This last link says BSD doesn't have this "effect". Will there be a problem
|
This last link says BSD doesn't have this "effect". Will there be a problem
|
||||||
if we do this unconditionally?
|
if we do this unconditionally?
|
||||||
@ -12542,7 +12542,7 @@ Daniel (16 March 2002)
|
|||||||
PASV ftp transfers. It could make libcurl crash.
|
PASV ftp transfers. It could make libcurl crash.
|
||||||
|
|
||||||
Details in bug report #530562:
|
Details in bug report #530562:
|
||||||
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=530562&group_id=976
|
https://sourceforge.net/p/curl/bugs/178/
|
||||||
|
|
||||||
Daniel (15 March 2002)
|
Daniel (15 March 2002)
|
||||||
- Jun-ichiro itojun Hagino filed bug report #530204 that clearly pointed out
|
- Jun-ichiro itojun Hagino filed bug report #530204 that clearly pointed out
|
||||||
@ -12922,7 +12922,7 @@ Daniel (17 January 2002)
|
|||||||
|
|
||||||
- Richard Archer brought back the ability to compile and build with OpenSSL
|
- Richard Archer brought back the ability to compile and build with OpenSSL
|
||||||
versions before 0.9.5.
|
versions before 0.9.5.
|
||||||
[http://sourceforge.net/tracker/?func=detail&atid=100976&aid=504163&group_id=976]
|
[https://sourceforge.net/p/curl/bugs/149/]
|
||||||
|
|
||||||
- The DNS cache code didn't take the port number into account, which made it
|
- The DNS cache code didn't take the port number into account, which made it
|
||||||
work rather bad on IPv6-enabled hosts (especially when doing passive
|
work rather bad on IPv6-enabled hosts (especially when doing passive
|
||||||
|
2
docs/FAQ
2
docs/FAQ
@ -1402,7 +1402,7 @@ FAQ
|
|||||||
to do "LIST -a" or similar to see them.
|
to do "LIST -a" or similar to see them.
|
||||||
|
|
||||||
The application thus needs to parse the LIST output. One such existing
|
The application thus needs to parse the LIST output. One such existing
|
||||||
list parser is available at http://cr.yp.to/ftpparse.html Versions of
|
list parser is available at https://cr.yp.to/ftpparse.html Versions of
|
||||||
libcurl since 7.21.0 also provide the ability to specify a wildcard to
|
libcurl since 7.21.0 also provide the ability to specify a wildcard to
|
||||||
download multiple files from one FTP directory.
|
download multiple files from one FTP directory.
|
||||||
|
|
||||||
|
@ -1046,7 +1046,7 @@ input from potentially untrusted users. Following is a discussion about
|
|||||||
some risks in the ways in which applications commonly use libcurl and
|
some risks in the ways in which applications commonly use libcurl and
|
||||||
potential mitigations of those risks. It is by no means comprehensive, but
|
potential mitigations of those risks. It is by no means comprehensive, but
|
||||||
shows classes of attacks that robust applications should consider. The
|
shows classes of attacks that robust applications should consider. The
|
||||||
Common Weakness Enumeration project at http://cwe.mitre.org/ is a good
|
Common Weakness Enumeration project at https://cwe.mitre.org/ is a good
|
||||||
reference for many of these and similar types of weaknesses of which
|
reference for many of these and similar types of weaknesses of which
|
||||||
application writers should be aware.
|
application writers should be aware.
|
||||||
|
|
||||||
|
@ -912,7 +912,7 @@ static void nosigpipe(struct connectdata *conn,
|
|||||||
/* When you run a program that uses the Windows Sockets API, you may
|
/* When you run a program that uses the Windows Sockets API, you may
|
||||||
experience slow performance when you copy data to a TCP server.
|
experience slow performance when you copy data to a TCP server.
|
||||||
|
|
||||||
http://support.microsoft.com/kb/823764
|
https://support.microsoft.com/kb/823764
|
||||||
|
|
||||||
Work-around: Make the Socket Send Buffer Size Larger Than the Program Send
|
Work-around: Make the Socket Send Buffer Size Larger Than the Program Send
|
||||||
Buffer Size
|
Buffer Size
|
||||||
|
@ -56,7 +56,7 @@ curl_socket_t Curl_getconnectinfo(struct SessionHandle *data,
|
|||||||
/* When you run a program that uses the Windows Sockets API, you may
|
/* When you run a program that uses the Windows Sockets API, you may
|
||||||
experience slow performance when you copy data to a TCP server.
|
experience slow performance when you copy data to a TCP server.
|
||||||
|
|
||||||
http://support.microsoft.com/kb/823764
|
https://support.microsoft.com/kb/823764
|
||||||
|
|
||||||
Work-around: Make the Socket Send Buffer Size Larger Than the Program Send
|
Work-around: Make the Socket Send Buffer Size Larger Than the Program Send
|
||||||
Buffer Size
|
Buffer Size
|
||||||
|
@ -373,8 +373,8 @@ CURLcode Curl_output_ntlm_wb(struct connectdata *conn,
|
|||||||
* by delegating the NTLM challenge/response protocal to a helper
|
* by delegating the NTLM challenge/response protocal to a helper
|
||||||
* in ntlm_auth.
|
* in ntlm_auth.
|
||||||
* http://devel.squid-cache.org/ntlm/squid_helper_protocol.html
|
* http://devel.squid-cache.org/ntlm/squid_helper_protocol.html
|
||||||
* http://www.samba.org/samba/docs/man/manpages-3/winbindd.8.html
|
* https://www.samba.org/samba/docs/man/manpages-3/winbindd.8.html
|
||||||
* http://www.samba.org/samba/docs/man/manpages-3/ntlm_auth.1.html
|
* https://www.samba.org/samba/docs/man/manpages-3/ntlm_auth.1.html
|
||||||
* Preprocessor symbol 'NTLM_WB_ENABLED' is defined when this
|
* Preprocessor symbol 'NTLM_WB_ENABLED' is defined when this
|
||||||
* feature is enabled and 'NTLM_WB_FILE' symbol holds absolute
|
* feature is enabled and 'NTLM_WB_FILE' symbol holds absolute
|
||||||
* filename of ntlm_auth helper.
|
* filename of ntlm_auth helper.
|
||||||
|
@ -55,7 +55,7 @@ static Curl_recv rtmp_recv;
|
|||||||
static Curl_send rtmp_send;
|
static Curl_send rtmp_send;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* RTMP protocol handler.h, based on http://rtmpdump.mplayerhq.hu
|
* RTMP protocol handler.h, based on https://rtmpdump.mplayerhq.hu
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const struct Curl_handler Curl_handler_rtmp = {
|
const struct Curl_handler Curl_handler_rtmp = {
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* "Remove Dot Segments"
|
* "Remove Dot Segments"
|
||||||
* http://tools.ietf.org/html/rfc3986#section-5.2.4
|
* https://tools.ietf.org/html/rfc3986#section-5.2.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
/* Portable character check (remember EBCDIC). Do not use isalnum() because
|
/* Portable character check (remember EBCDIC). Do not use isalnum() because
|
||||||
its behavior is altered by the current locale.
|
its behavior is altered by the current locale.
|
||||||
See http://tools.ietf.org/html/rfc3986#section-2.3
|
See https://tools.ietf.org/html/rfc3986#section-2.3
|
||||||
*/
|
*/
|
||||||
static bool Curl_isunreserved(unsigned char in)
|
static bool Curl_isunreserved(unsigned char in)
|
||||||
{
|
{
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
* "foo.host.com" matches "*.host.com".
|
* "foo.host.com" matches "*.host.com".
|
||||||
*
|
*
|
||||||
* We use the matching rule described in RFC6125, section 6.4.3.
|
* We use the matching rule described in RFC6125, section 6.4.3.
|
||||||
* http://tools.ietf.org/html/rfc6125#section-6.4.3
|
* https://tools.ietf.org/html/rfc6125#section-6.4.3
|
||||||
*
|
*
|
||||||
* In addition: ignore trailing dots in the host names and wildcards, so that
|
* In addition: ignore trailing dots in the host names and wildcards, so that
|
||||||
* the names are used normalized. This is what the browsers do.
|
* the names are used normalized. This is what the browsers do.
|
||||||
|
@ -135,7 +135,7 @@ CURLcode Curl_output_digest(struct connectdata *conn,
|
|||||||
|
|
||||||
Apache servers can be set to do the Digest IE-style automatically using
|
Apache servers can be set to do the Digest IE-style automatically using
|
||||||
the BrowserMatch feature:
|
the BrowserMatch feature:
|
||||||
http://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#msie
|
https://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#msie
|
||||||
|
|
||||||
Further details on Digest implementation differences:
|
Further details on Digest implementation differences:
|
||||||
http://www.fngtps.com/2006/09/http-authentication
|
http://www.fngtps.com/2006/09/http-authentication
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Some hackish cast macros based on:
|
Some hackish cast macros based on:
|
||||||
http://library.gnome.org/devel/glib/unstable/glib-Type-Conversion-Macros.html
|
https://developer.gnome.org/glib/unstable/glib-Type-Conversion-Macros.html
|
||||||
*/
|
*/
|
||||||
#ifndef GNUTLS_POINTER_TO_INT_CAST
|
#ifndef GNUTLS_POINTER_TO_INT_CAST
|
||||||
#define GNUTLS_POINTER_TO_INT_CAST(p) ((int) (long) (p))
|
#define GNUTLS_POINTER_TO_INT_CAST(p) ((int) (long) (p))
|
||||||
|
@ -189,7 +189,8 @@ schannel_connect_step1(struct connectdata *conn, int sockindex)
|
|||||||
}
|
}
|
||||||
memset(connssl->cred, 0, sizeof(struct curl_schannel_cred));
|
memset(connssl->cred, 0, sizeof(struct curl_schannel_cred));
|
||||||
|
|
||||||
/* http://msdn.microsoft.com/en-us/library/windows/desktop/aa374716.aspx */
|
/* https://msdn.microsoft.com/en-us/library/windows/desktop/aa374716.aspx
|
||||||
|
*/
|
||||||
sspi_status =
|
sspi_status =
|
||||||
s_pSecFn->AcquireCredentialsHandle(NULL, (TCHAR *)UNISP_NAME,
|
s_pSecFn->AcquireCredentialsHandle(NULL, (TCHAR *)UNISP_NAME,
|
||||||
SECPKG_CRED_OUTBOUND, NULL,
|
SECPKG_CRED_OUTBOUND, NULL,
|
||||||
@ -240,7 +241,7 @@ schannel_connect_step1(struct connectdata *conn, int sockindex)
|
|||||||
if(!host_name)
|
if(!host_name)
|
||||||
return CURLE_OUT_OF_MEMORY;
|
return CURLE_OUT_OF_MEMORY;
|
||||||
|
|
||||||
/* http://msdn.microsoft.com/en-us/library/windows/desktop/aa375924.aspx */
|
/* https://msdn.microsoft.com/en-us/library/windows/desktop/aa375924.aspx */
|
||||||
|
|
||||||
sspi_status = s_pSecFn->InitializeSecurityContext(
|
sspi_status = s_pSecFn->InitializeSecurityContext(
|
||||||
&connssl->cred->cred_handle, NULL, host_name,
|
&connssl->cred->cred_handle, NULL, host_name,
|
||||||
@ -407,8 +408,8 @@ schannel_connect_step2(struct connectdata *conn, int sockindex)
|
|||||||
if(!host_name)
|
if(!host_name)
|
||||||
return CURLE_OUT_OF_MEMORY;
|
return CURLE_OUT_OF_MEMORY;
|
||||||
|
|
||||||
/* http://msdn.microsoft.com/en-us/library/windows/desktop/aa375924.aspx */
|
/* https://msdn.microsoft.com/en-us/library/windows/desktop/aa375924.aspx
|
||||||
|
*/
|
||||||
sspi_status = s_pSecFn->InitializeSecurityContext(
|
sspi_status = s_pSecFn->InitializeSecurityContext(
|
||||||
&connssl->cred->cred_handle, &connssl->ctxt->ctxt_handle,
|
&connssl->cred->cred_handle, &connssl->ctxt->ctxt_handle,
|
||||||
host_name, connssl->req_flags, 0, 0, &inbuf_desc, 0, NULL,
|
host_name, connssl->req_flags, 0, 0, &inbuf_desc, 0, NULL,
|
||||||
@ -759,7 +760,7 @@ schannel_send(struct connectdata *conn, int sockindex,
|
|||||||
/* copy data into output buffer */
|
/* copy data into output buffer */
|
||||||
memcpy(outbuf[1].pvBuffer, buf, len);
|
memcpy(outbuf[1].pvBuffer, buf, len);
|
||||||
|
|
||||||
/* http://msdn.microsoft.com/en-us/library/windows/desktop/aa375390.aspx */
|
/* https://msdn.microsoft.com/en-us/library/windows/desktop/aa375390.aspx */
|
||||||
sspi_status = s_pSecFn->EncryptMessage(&connssl->ctxt->ctxt_handle, 0,
|
sspi_status = s_pSecFn->EncryptMessage(&connssl->ctxt->ctxt_handle, 0,
|
||||||
&outbuf_desc, 0);
|
&outbuf_desc, 0);
|
||||||
|
|
||||||
@ -973,7 +974,8 @@ schannel_recv(struct connectdata *conn, int sockindex,
|
|||||||
InitSecBuffer(&inbuf[3], SECBUFFER_EMPTY, NULL, 0);
|
InitSecBuffer(&inbuf[3], SECBUFFER_EMPTY, NULL, 0);
|
||||||
InitSecBufferDesc(&inbuf_desc, inbuf, 4);
|
InitSecBufferDesc(&inbuf_desc, inbuf, 4);
|
||||||
|
|
||||||
/* http://msdn.microsoft.com/en-us/library/windows/desktop/aa375348.aspx */
|
/* https://msdn.microsoft.com/en-us/library/windows/desktop/aa375348.aspx
|
||||||
|
*/
|
||||||
sspi_status = s_pSecFn->DecryptMessage(&connssl->ctxt->ctxt_handle,
|
sspi_status = s_pSecFn->DecryptMessage(&connssl->ctxt->ctxt_handle,
|
||||||
&inbuf_desc, 0, NULL);
|
&inbuf_desc, 0, NULL);
|
||||||
|
|
||||||
@ -1234,7 +1236,7 @@ void Curl_schannel_close(struct connectdata *conn, int sockindex)
|
|||||||
|
|
||||||
int Curl_schannel_shutdown(struct connectdata *conn, int sockindex)
|
int Curl_schannel_shutdown(struct connectdata *conn, int sockindex)
|
||||||
{
|
{
|
||||||
/* See http://msdn.microsoft.com/en-us/library/windows/desktop/aa380138.aspx
|
/* See https://msdn.microsoft.com/en-us/library/windows/desktop/aa380138.aspx
|
||||||
* Shutting Down an Schannel Connection
|
* Shutting Down an Schannel Connection
|
||||||
*/
|
*/
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
defines/macros #defined by the lib-specific header files.
|
defines/macros #defined by the lib-specific header files.
|
||||||
|
|
||||||
"SSL/TLS Strong Encryption: An Introduction"
|
"SSL/TLS Strong Encryption: An Introduction"
|
||||||
http://httpd.apache.org/docs-2.0/ssl/ssl_intro.html
|
https://httpd.apache.org/docs/2.0/ssl/ssl_intro.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "curl_setup.h"
|
#include "curl_setup.h"
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
#define SHA256_DIGEST_LENGTH 32 /* fixed size */
|
#define SHA256_DIGEST_LENGTH 32 /* fixed size */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* see http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg-04 */
|
/* see https://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg-04 */
|
||||||
#define ALPN_HTTP_1_1_LENGTH 8
|
#define ALPN_HTTP_1_1_LENGTH 8
|
||||||
#define ALPN_HTTP_1_1 "http/1.1"
|
#define ALPN_HTTP_1_1 "http/1.1"
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ rem NOTES
|
|||||||
rem
|
rem
|
||||||
rem Do not set %ERRORLEVEL% to anything. %ERRORLEVEL% is a special variable
|
rem Do not set %ERRORLEVEL% to anything. %ERRORLEVEL% is a special variable
|
||||||
rem that only contains errorlevel when %ERRORLEVEL% is not set. Same for %CD%.
|
rem that only contains errorlevel when %ERRORLEVEL% is not set. Same for %CD%.
|
||||||
rem http://blogs.msdn.com/b/oldnewthing/archive/2008/09/26/8965755.aspx
|
rem https://blogs.msdn.microsoft.com/oldnewthing/20080926-00/?p=20743/
|
||||||
rem If you need to set the errorlevel do this instead: CALL :seterr [#]
|
rem If you need to set the errorlevel do this instead: CALL :seterr [#]
|
||||||
|
|
||||||
:begin
|
:begin
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at
|
# You may obtain a copy of the License at
|
||||||
#
|
#
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
# https://www.apache.org/licenses/LICENSE-2.0
|
||||||
#
|
#
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
@ -509,8 +509,8 @@ static void lograw(unsigned char *buffer, ssize_t len)
|
|||||||
* other handle types supported by WaitForMultipleObjectsEx() as
|
* other handle types supported by WaitForMultipleObjectsEx() as
|
||||||
* well as disk files, anonymous and names pipes, and character input.
|
* well as disk files, anonymous and names pipes, and character input.
|
||||||
*
|
*
|
||||||
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms687028.aspx
|
* https://msdn.microsoft.com/en-us/library/windows/desktop/ms687028.aspx
|
||||||
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms741572.aspx
|
* https://msdn.microsoft.com/en-us/library/windows/desktop/ms741572.aspx
|
||||||
*/
|
*/
|
||||||
struct select_ws_wait_data {
|
struct select_ws_wait_data {
|
||||||
HANDLE handle; /* actual handle to wait for during select */
|
HANDLE handle; /* actual handle to wait for during select */
|
||||||
|
Loading…
Reference in New Issue
Block a user