Skip to content
  1. May 28, 2019
    • Daniel Stenberg's avatar
      CURLOPT_FOLLOWLOCATION: add a CURLFOLLOW_NO_CUSTOMREQUEST bit · cf91707a
      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.
      cf91707a
    • Daniel Stenberg's avatar
      multi: track users of a socket better · 8581e192
      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
      8581e192
    • Steve Holme's avatar
      curl-win32.h: Enable Unix Domain Sockets based on the Windows SDK version · 28526e9c
      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
      28526e9c
    • Jonas Vautherin's avatar
      5aa2347f
  2. May 27, 2019
  3. May 26, 2019
  4. May 25, 2019
    • Jay Satiro's avatar
      Revert all SASL authzid (new feature) commits · db8ec1fa
      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.
      db8ec1fa
    • dbrowndan's avatar
      FAQ: more minor updates and spelling fixes · 84086b39
      dbrowndan authored
      Closes #3937
      84086b39
  5. May 24, 2019
  6. May 23, 2019
  7. May 22, 2019
  8. May 21, 2019