- May 28, 2019
-
-
Daniel Stenberg authored
With this change, the argument passed to the CURLOPT_FOLLOWLOCATION option is treated as a bitmask instead of just a long. If the new CURLFOLLOW_NO_CUSTOMREQUEST bit is set in the bitmask, it means that libcurl will NOT allow a custom method override the HTTP request method after a redirect is followed. As is otherwise the default behavior (that surprises many users). This change is forward compatible because CURLOPT_FOLLOWLOCATION has been documented to accept the exact value of '1' to enable redirect following and therefore the other bits were left unused and undefined. We now add value to another bit. Starting in 7.66.0, the value 1 and the first bit still enables plain redirect following but the second bit adds more meaning. This change is backward compatible in the following way: setting the CURLFOLLOW_NO_CUSTOMREQUEST bit in a program that still uses an older libcurl installation at run-tim will have no effect. This is because older libcurl code checked if the value was non-zero and then enabled redirect following. Of course older libcurl will always let the set CURLOPT_CUSTOMREQUEST string override the method, disregarding what the HTTP response code suggests. Test 1563 added to verify the functionality.
-
Daniel Stenberg authored
They need to be removed from the socket hash linked list with more care. When sh_delentry() is called to remove a sockethash entry, remove all individual transfers from the list first. To enable this, each Curl_easy struct now stores a pointer to the sockethash entry to know how to remove itself. Reported-by: Tom van der Woerdt and Kunal Ekawde Fixes #3952 Fixes #3904 Closes #3953
-
Steve Holme authored
Microsoft added support for Unix Domain Sockets in Windows 10 1803 (RS4). Rather than expect the user to enable Unix Domain Sockets by uncommenting the #define that was added in 0fd6221f we use the RS4 pre-processor variable that is present in newer versions of the Windows SDK. Closes #3939
-
Jonas Vautherin authored
Closes #3945
-
- May 27, 2019
-
-
Marcel Raad authored
Add the proxy and haproxy keywords in order to be able to exclude or run these specific tests. Closes https://github.com/curl/curl/pull/3949
-
Maksim Stsepanenka authored
Closes #3948
-
Hubert Kario authored
Closes #3916
-
- May 26, 2019
-
-
Daniel Stenberg authored
-
- May 25, 2019
-
-
Jay Satiro authored
- Revert all commits related to the SASL authzid feature since the next release will be a patch release, 7.65.1. Prior to this change CURLOPT_SASL_AUTHZID / --sasl-authzid was destined for the next release, assuming it would be a feature release 7.66.0. However instead the next release will be a patch release, 7.65.1 and will not contain any new features. After the patch release after the reverted commits can be restored by using cherry-pick: git cherry-pick a14d72ca a9499ff1 8c1cc369 c2a8d52a 0edf6907 Details for all reverted commits: Revert "os400: take care of CURLOPT_SASL_AUTHZID in curl_easy_setopt_ccsid()." This reverts commit 0edf6907. Revert "tests: Fix the line endings for the SASL alt-auth tests" This reverts commit c2a8d52a. Revert "examples: Added SASL PLAIN authorisation identity (authzid) examples" This reverts commit 8c1cc369. Revert "curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool" This reverts commit a9499ff1. Revert "sasl: Implement SASL authorisation identity via CURLOPT_SASL_AUTHZID" This reverts commit a14d72ca.
-
dbrowndan authored
Closes #3937
-
- May 24, 2019
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Reported-by: smuellerDD on github Fixes #3932 Closes #3933
-
Gisle Vanem authored
-
- May 23, 2019
-
-
Daniel Stenberg authored
Reported-by: Marcel Raad Fixes #3926 Closes #3929
-
Steve Holme authored
Closes #3930
-
Gisle Vanem authored
Using the memdebug.h mem-leak feature, I noticed 2 calls like: FILE tool_parsecfg.c:70 fopen("c:\Users\Gisle\AppData\Roaming\_curlrc","rt") FILE tool_parsecfg.c:114 fopen("c:\Users\Gisle\AppData\Roaming\_curlrc","rt") No need for 'fopen(), 'fclose()' and a 'fopen()' yet again.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Reported-by: elsamuko at github Fixes #3921 Closes #3922
-
Patrick Monnerat authored
-
Daniel Stenberg authored
-
Zenju authored
Closes https://github.com/curl/curl/pull/3923
-
Jay Satiro authored
- Change data and protocol sections to CRLF line endings. Prior to this change the tests would fail or hang, which is because certain sections such as protocol require CRLF line endings. Follow-up to a9499ff1 from today which added the tests. Ref: https://github.com/curl/curl/pull/3790
-
Daniel Stenberg authored
Regression since e91e4816. Reported-by: Tom Greenslade Fixes #3924 Closes #3925
-
Daniel Stenberg authored
This reverts commit 3b06e68b. Clearly this change wasn't good enough as it broke CURLOPT_LOW_SPEED_LIMIT + CURLOPT_LOW_SPEED_TIME Reported-by: Dave Reisner Fixes #3927 Closes #3928
-
- May 22, 2019
-
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
Added the ability for the calling program to specify the authorisation identity (authzid), the identity to act as, in addition to the authentication identity (authcid) and password when using SASL PLAIN authentication. Fixed #3653 Closes #3790
-
Marc Hoersken authored
Testing against OpenSSH for Windows requires v7.7.0.0 or newer due to the use of AllowUsers and DenyUsers. For more info see: https://github.com/PowerShell/Win32-OpenSSH/wiki/sshd_config
-
Daniel Stenberg authored
-
Marcel Raad authored
Closes https://github.com/curl/curl/pull/3919
-
Marcel Raad authored
Closes https://github.com/curl/curl/pull/3919
-
Marcel Raad authored
Closes https://github.com/curl/curl/pull/3919
-
Marcel Raad authored
Closes https://github.com/curl/curl/pull/3919
-
Marcel Raad authored
Closes https://github.com/curl/curl/pull/3919
-
Daniel Stenberg authored
Also removed mentions from most docs. Discussed: https://curl.haxx.se/mail/lib-2019-05/0045.html Closes #3888
-
Daniel Stenberg authored
- adds the check to cmake - fixes the configure check to work for cross-compiled windows builds Closes #3917
-
Daniel Stenberg authored
If the proxy string is given as an IPv6 numerical address with a zone id, make sure to use that for the connect to the proxy. Reported-by: Edmond Yu Fixes #3482 Closes #3918
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- May 21, 2019
-
-
Daniel Stenberg authored
Reported-by: GitYuanQu on github Fixes #3902 Closes #3914
-