Skip to content
Snippets Groups Projects
  1. Jan 08, 2011
  2. Jan 04, 2011
  3. Nov 20, 2010
  4. Nov 19, 2010
  5. Nov 14, 2010
    • Daniel Stenberg's avatar
      gnutls->handshake: improved timeout handling · cbf4961b
      Daniel Stenberg authored
      When no timeout is set, we call the socket_ready function with a timeout
      value of 0 during handshake, which makes it loop too much/fast in this
      function. It also made this function return CURLE_OPERATION_TIMEDOUT
      wrongly on a slow handshake.
      
      However, the particular bug report that highlighted this problem is not
      solved by this fix, as this fix only makes the more proper error get
      reported instead.
      
      Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594150
      Reported by: Johannes Ernst
      cbf4961b
  6. Nov 08, 2010
  7. May 11, 2010
  8. May 07, 2010
    • Howard Chu's avatar
      sendrecv: split the I/O handling into private handler · d64bd82b
      Howard Chu authored
      Howard Chu brought the bulk work of this patch that properly
      moves out the sending and recving of data to the parts of the
      code that are properly responsible for the various ways of doing
      so.
      
      Daniel Stenberg assisted with polishing a few bits and fixed some
      minor flaws in the original patch.
      
      Another upside of this patch is that we now abuse CURLcodes less
      with the "magic" -1 return codes and instead use CURLE_AGAIN more
      consistently.
      d64bd82b
  9. Apr 16, 2010
  10. Apr 04, 2010
  11. Mar 24, 2010
  12. Oct 19, 2009
  13. Aug 30, 2009
  14. Aug 01, 2009
    • Daniel Stenberg's avatar
      - Curt Bogmine reported a problem with SNI enabled on a particular server. We · 6d891d2a
      Daniel Stenberg authored
        should introduce an option to disable SNI, but as we're in feature freeze
        now I've addressed the obvious bug here (pointed out by Peter Sylvester): we
        shouldn't try to enable SNI when SSLv2 or SSLv3 is explicitly selected.
        Code for OpenSSL and GnuTLS was fixed. NSS doesn't seem to have a particular
        option for SNI, or are we simply not using it?
      6d891d2a
  15. Jul 22, 2009
  16. May 05, 2009
  17. May 04, 2009
  18. Apr 21, 2009
  19. Mar 08, 2009
  20. Feb 25, 2009
    • Daniel Stenberg's avatar
      - As Daniel Fandrich figured out, we must do the GnuTLS initing in the · d207ea16
      Daniel Stenberg authored
        curl_global_init() function to properly maintain the performing functions
        thread-safe. We've previously (28 April 2007) moved the init to a later time
        just to avoid it to fail very early when libgcrypt dislikes the situation,
        but that move was bad and the fix should rather be in libgcrypt or
        elsewhere.
      d207ea16
  21. Feb 12, 2009
  22. Nov 18, 2008
  23. Nov 11, 2008
    • Daniel Stenberg's avatar
      - Rainer Canavan filed bug #2255627 · 4cbc0f6c
      Daniel Stenberg authored
        (http://curl.haxx.se/bug/view.cgi?id=2255627) which pointed out that a
        program using libcurl's multi interface to download a HTTPS page with a
        libcurl built powered by OpenSSL, would easily get silly and instead hand
        over SSL details as data instead of the actual HTTP headers and body. This
        happened because libcurl would consider the connection handshake done too
        early. This problem was introduced at September 22nd 2008 with my fix of the
        bug #2107377
      
        The correct fix is now instead done within the GnuTLS-handling code, as both
        the OpenSSL and the NSS code already deal with this situation in similar
        fashion. I added test case 560 in an attempt to verify this fix, but
        unfortunately it didn't trigger it even before this fix!
      4cbc0f6c
  24. Oct 16, 2008
  25. Oct 15, 2008
    • Daniel Stenberg's avatar
      - Pascal Terjan filed bug #2154627 · a579d670
      Daniel Stenberg authored
        (http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl
        uses strcasecmp() in multiple places where it causes failures when the
        Turkish locale is used. This is because 'i' and 'I' isn't the same letter so
        strcasecmp() on those letters are different in Turkish than in English (or
        just about all other languages). I thus introduced a totally new internal
        function in libcurl (called Curl_ascii_equal) for doing case insentive
        comparisons for english-(ascii?) style strings that thus will make "file"
        and "FILE" match even if the Turkish locale is selected.
      a579d670
  26. Jun 10, 2008
  27. Jun 06, 2008
  28. Feb 26, 2008
  29. Feb 25, 2008
  30. Feb 20, 2008
    • Daniel Stenberg's avatar
      oops, fixed to build · 9019fc56
      Daniel Stenberg authored
      9019fc56
    • Daniel Stenberg's avatar
      - Based on initial work done by Gautam Kachroo to address a bug, we now keep · 53a54900
      Daniel Stenberg authored
        better control at the exact state of the connection's SSL status so that we
        know exactly when it has completed the SSL negotiation or not so that there
        won't be accidental re-uses of connections that are wrongly believed to be
        in SSL-completed-negotiate state.
      53a54900
    • Daniel Stenberg's avatar
      - We no longer support setting the CURLOPT_URL option from inside a callback · 55700cb0
      Daniel Stenberg authored
        such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location:
        following. The patch that introduced this feature was done for 7.11.0, but
        this code and functionality has been broken since about 7.15.4 (March 2006)
        with the introduction of non-blocking OpenSSL "connects".
      
        It was a hack to begin with and since it doesn't work and hasn't worked
        correctly for a long time and nobody has even noticed, I consider it a very
        suitable subject for plain removal. And so it was done.
      55700cb0
  31. Feb 16, 2008
  32. Feb 15, 2008
  33. Feb 08, 2008
  34. Feb 07, 2008
Loading