1. 17 Sep, 2010 1 commit
    • Daniel Stenberg's avatar
      Curl_timeleft: avoid returning "no timeout" by mistake · 3880dd37
      Daniel Stenberg authored
      As this function uses return code 0 to mean that there is no timeout, it
      needs to check that it doesn't return a time left value that is exactly
      zero. It could lead to libcurl doing an extra 1000 ms select() call and
      thus not timing out as accurately as it should.
      
      I fell over this bug when working on the bug 3061535 but this fix does
      not correct that problem alone, although this is a problem that needs to
      be fixed.
      
      Reported by: Rodric Glaser
      Bug: http://curl.haxx.se/bug/view.cgi?id=3061535
      3880dd37
  2. 16 Sep, 2010 2 commits
  3. 15 Sep, 2010 1 commit
  4. 14 Sep, 2010 2 commits
    • James Bursa's avatar
      getinmemory: make the example easier to follow · fbefd816
      James Bursa authored
      1. Remove the comment warning that it's "not been verified to work". It
         works with no problems in my testing.
      
      2. Remove 2 unnecessary includes.
      
      3. Remove the myrealloc(). Initialize chunk.memory with malloc() instead
         of NULL. The comments for these two parts contradicted each other.
      
      4. Handle out of memory from realloc() instead of continuing.
      
      5. Print a brief status message at the end.
      fbefd816
    • Daniel Stenberg's avatar
      multi: don't do extra expire calls for the connection · 296b246b
      Daniel Stenberg authored
      The timeout is set for the connect phase already at the start of the
      request so we should not add a new one, and we MUST not set expire to 0
      as that will remove any other potentially existing timeouts.
      296b246b
  5. 12 Sep, 2010 6 commits
  6. 09 Sep, 2010 2 commits
  7. 08 Sep, 2010 2 commits
  8. 07 Sep, 2010 2 commits
  9. 06 Sep, 2010 2 commits
  10. 05 Sep, 2010 2 commits
  11. 03 Sep, 2010 2 commits
  12. 02 Sep, 2010 1 commit
  13. 01 Sep, 2010 6 commits
  14. 30 Aug, 2010 2 commits
  15. 28 Aug, 2010 7 commits