Skip to content
Snippets Groups Projects
  1. Oct 03, 2007
  2. Oct 02, 2007
  3. Sep 26, 2007
    • Daniel Stenberg's avatar
      Philip Langdale provided the new CURLOPT_POST301 option for · fd4cf78f
      Daniel Stenberg authored
      curl_easy_setopt() that alters how libcurl functions when following
      redirects. It makes libcurl obey the RFC2616 when a 301 response is received
      after a non-GET request is made. Default libcurl behaviour is to change
      method to GET in the subsequent request (like it does for response code 302
      - because that's what many/most browsers do), but with this CURLOPT_POST301
      option enabled it will do what the spec says and do the next request using
      the same method again. I.e keep POST after 301.
      
      The curl tool got this option as --post301
      
      Test case 1011 and 1012 were added to verify.
      fd4cf78f
    • Daniel Stenberg's avatar
      Max Katsev reported that when doing a libcurl FTP request with · a6315359
      Daniel Stenberg authored
      CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE
      before it does SIZE which makes it less useful. I walked over the code and
      made it do this properly, and added test case 542 to verify it.
      a6315359
  4. Sep 18, 2007
    • Daniel Stenberg's avatar
      Rob Crittenden provided an NSS update with the following highlights: · 8c3f40ee
      Daniel Stenberg authored
      o It looks for the NSS database first in the environment variable SSL_DIR,
        then in /etc/pki/nssdb, then it initializes with no database if neither of
        those exist.
      
      o If the NSS PKCS#11 libnspsem.so driver is available then PEM files may be
        loaded, including the ca-bundle. If it is not available then only
        certificates already in the NSS database are used.
      
      o Tries to detect whether a file or nickname is being passed in so the right
        thing is done
      
      o Added a bit of code to make the output more like the OpenSSL module,
        including displaying the certificate information when connecting in
        verbose mode
      
      o Improved handling of certificate errors (expired, untrusted, etc)
      
      The libnsspem.so PKCS#11 module is currently only available in Fedora
      8/rawhide. Work will be done soon to upstream it. The NSS module will work
      with or without it, all that changes is the source of the certificates and
      keys.
      8c3f40ee
  5. Aug 31, 2007
  6. Aug 26, 2007
  7. Aug 15, 2007
  8. Aug 01, 2007
  9. Jul 29, 2007
  10. Jul 27, 2007
  11. Jul 23, 2007
  12. Jul 10, 2007
  13. Jul 01, 2007
  14. Jun 27, 2007
  15. Jun 19, 2007
  16. Jun 12, 2007
  17. Apr 24, 2007
  18. Apr 16, 2007
  19. Apr 10, 2007
  20. Apr 01, 2007
  21. Feb 25, 2007
  22. Feb 22, 2007
    • Yang Tse's avatar
      Fix compiler warnings · 9bf9617a
      Yang Tse authored
      "case label value exceeds maximum value for type" and
      "comparison is always false due to limited range of data type"
      
      Both triggered when using a bool variable as the switch variable
      in a switch statement and using enums for the case targets.
      9bf9617a
  23. Feb 20, 2007
  24. Feb 18, 2007
  25. Feb 16, 2007
  26. Feb 13, 2007
  27. Feb 12, 2007
  28. Feb 05, 2007
    • Daniel Stenberg's avatar
      - Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS · 91386937
      Daniel Stenberg authored
        and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the
        timeouts with millisecond resolution instead. The only restriction to that
        is the alarm() (sometimes) used to abort name resolves as that uses full
        seconds. I fixed the FTP response timeout part of the patch.
      
        Internally we now count and keep the timeouts in milliseconds but it also
        means we multiply set timeouts with 1000. The effect of this is that no
        timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which
        equals 24.86 days.  We probably couldn't before either since the code did
        *1000 on the timeout values on several places already.
      91386937
  29. Feb 03, 2007
  30. Jan 16, 2007
  31. Jan 05, 2007
  32. Dec 22, 2006
  33. Dec 21, 2006
    • Daniel Stenberg's avatar
      Robson Braga Araujo reported bug #1618359 · 89ab5f43
      Daniel Stenberg authored
      (http://curl.haxx.se/bug/view.cgi?id=1618359) and subsequently provided a
      patch for it: when downloading 2 zero byte files in a row, curl 7.16.0
      enters an infinite loop, while curl 7.16.1-20061218 does one additional
      unnecessary request.
      
      Fix: During the "Major overhaul introducing http pipelining support and
      shared connection cache within the multi handle." change, headerbytecount
      was moved to live in the Curl_transfer_keeper structure. But that structure
      is reset in the Transfer method, losing the information that we had about
      the header size. This patch moves it back to the connectdata struct.
      89ab5f43
  34. Dec 11, 2006
  35. Dec 06, 2006
    • Daniel Stenberg's avatar
      Sebastien Willemijns reported bug #1603712 · 840e796a
      Daniel Stenberg authored
      (http://curl.haxx.se/bug/view.cgi?id=1603712) which is about connections
      getting cut off prematurely when --limit-rate is used. While I found no such
      problems in my tests nor in my reading of the code, I found that the
      --limit-rate code was severly flawed (since it was moved into the lib, since
      7.15.5) when used with the easy interface and it didn't work as documented so
      I reworked it somewhat and now it works for my tests.
      840e796a
  36. Dec 05, 2006
  37. Nov 24, 2006
Loading