Skip to content
Snippets Groups Projects
  1. Feb 19, 2007
  2. Feb 16, 2007
  3. Feb 06, 2007
  4. 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
  5. Feb 01, 2007
  6. Jan 24, 2007
  7. Jan 16, 2007
  8. Jan 08, 2007
  9. Jan 05, 2007
  10. Dec 22, 2006
  11. Dec 21, 2006
    • Daniel Stenberg's avatar
      removed unused variables · 1beb7de7
      Daniel Stenberg authored
      1beb7de7
    • 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
  12. Dec 11, 2006
    • Daniel Stenberg's avatar
      Alexey Simak found out that when doing FTP with the multi interface and · 88c8d72a
      Daniel Stenberg authored
      something went wrong like it got a bad response code back from the server,
      libcurl would leak memory. Added test case 538 to verify the fix.
      
      I also noted that the connection would get cached in that case, which
      doesn't make sense since it cannot be re-use when the authentication has
      failed. I fixed that issue too at the same time, and also that the path
      would be "remembered" in vain for cases where the connection was about to
      get closed.
      88c8d72a
  13. Dec 05, 2006
    • Daniel Stenberg's avatar
      Alexey Simak filed bug report #1600447 · 3c4f6224
      Daniel Stenberg authored
      (http://curl.haxx.se/bug/view.cgi?id=1600447) in which he noted that active
      FTP connections don't work with the multi interface. The problem is here that
      the multi interface state machine has a state during which it can wait for the
      data connection to connect, but the active connection is not done in the same
      step in the sequence as the passive one is so it doesn't quite work for
      active. The active FTP code still use a blocking function to allow the remote
      server to connect.
      
      The fix (work-around is a better word) for this problem is to set the
      boolean prematurely that the data connection is completed, so that the "wait
      for connect" phase ends at once.
      3c4f6224
  14. Oct 17, 2006
  15. Oct 11, 2006
  16. Oct 02, 2006
  17. Sep 30, 2006
  18. Sep 21, 2006
  19. Sep 16, 2006
  20. Sep 12, 2006
  21. Sep 10, 2006
  22. Sep 09, 2006
  23. Sep 08, 2006
  24. Sep 07, 2006
  25. Sep 03, 2006
  26. Aug 29, 2006
  27. Aug 22, 2006
  28. Aug 19, 2006
  29. Aug 18, 2006
  30. Aug 08, 2006
  31. Jul 25, 2006
  32. Jul 20, 2006
  33. May 04, 2006
    • Daniel Stenberg's avatar
      Roland Blom filed bug report #1481217 · e85e3054
      Daniel Stenberg authored
      (http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini
      and David Byron. libcurl previously wrongly used GetLastError() on windows to
      get error details after socket-related function calls, when it really should
      use WSAGetLastError() instead.
      
      When changing to this, the former function Curl_ourerrno() is now instead
      called Curl_sockerrno() as it is necessary to only use it to get errno from
      socket-related functions as otherwise it won't work as intended on Windows.
      e85e3054
Loading