Skip to content
Snippets Groups Projects
  1. Feb 25, 2007
  2. 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
  3. Feb 20, 2007
  4. Feb 18, 2007
  5. Feb 16, 2007
  6. Feb 13, 2007
  7. Feb 12, 2007
  8. 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
  9. Feb 03, 2007
  10. Jan 16, 2007
  11. Jan 05, 2007
  12. Dec 22, 2006
  13. 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
  14. Dec 11, 2006
  15. 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
  16. Dec 05, 2006
  17. Nov 24, 2006
  18. Nov 03, 2006
  19. Nov 02, 2006
  20. Oct 23, 2006
  21. Oct 20, 2006
  22. Sep 30, 2006
  23. Sep 28, 2006
  24. Sep 16, 2006
  25. Sep 11, 2006
  26. Sep 10, 2006
    • Daniel Stenberg's avatar
      Jeff Pohlmeyer presented a *multi_socket()-using program that exposed a · 8240cea6
      Daniel Stenberg authored
        problem with it (SIGSEGV-style). It clearly showed that the existing
        socket-state and state-difference function wasn't good enough so I rewrote
        it and could then re-run Jeff's program without any crash. The previous
        version clearly could miss to tell the application when a handle changed
        from using one socket to using another.
      
        While I was at it (as I could use this as a means to track this problem
        down), I've now added a 'magic' number to the easy handle struct that is
        inited at curl_easy_init() time and cleared at curl_easy_cleanup() time that
        we can use internally to detect that an easy handle seems to be fine, or at
        least not closed or freed (freeing in debug builds fill the area with 0x13
        bytes but in normal builds we can of course not assume any particular data
        in the freed areas).
      8240cea6
  27. Sep 07, 2006
  28. Aug 29, 2006
  29. Aug 19, 2006
  30. Aug 08, 2006
  31. Jul 25, 2006
  32. Jul 07, 2006
    • Daniel Stenberg's avatar
      Ingmar Runge provided a source snippet that caused a crash. The reason for · ca319f63
      Daniel Stenberg authored
      the crash was that libcurl internally was a bit confused about who owned the
      DNS cache at all times so if you created an easy handle that uses a shared
      DNS cache and added that to a multi handle it would crash. Now we keep more
      careful internal track of exactly what kind of DNS cache each easy handle
      uses: None, Private (allocated for and used only by this single handle),
      Shared (points to a cache held by a shared object), Global (points to the
      global cache) or Multi (points to the cache within the multi handle that is
      automatically shared between all easy handles that are added with private
      caches).
      ca319f63
  33. Jun 22, 2006
    • Daniel Stenberg's avatar
      Peter Silva introduced CURLOPT_MAX_SEND_SPEED_LARGE and · dfe1884c
      Daniel Stenberg authored
      CURLOPT_MAX_RECV_SPEED_LARGE that limit tha maximum rate libcurl is allowed
      to send or receive data. This kind of adds the the command line tool's
      option --limit-rate to the library.
      
      The rate limiting logic in the curl app is now removed and is instead
      provided by libcurl itself. Transfer rate limiting will now also work for -d
      and -F, which it didn't before.
      dfe1884c
  34. May 26, 2006
  35. May 07, 2006
  36. Apr 26, 2006
  37. Apr 10, 2006
Loading