Skip to content
  1. Dec 05, 2006
    • Daniel Stenberg's avatar
      Matt Witherspoon fixed a problem case when the CPU load went to 100% when a · 3ce43764
      Daniel Stenberg authored
      HTTP upload was disconnected:
      
      "What appears to be happening is that my system (Linux 2.6.17 and 2.6.13) is
      setting *only* POLLHUP on poll() when the conditions in my previous mail
      occur. As you can see, select.c:Curl_select() does not check for POLLHUP. So
      basically what was happening, is poll() was returning immediately (with
      POLLHUP set), but when Curl_select() looked at the bits, neither POLLERR or
      POLLOUT was set. This still caused Curl_readwrite() to be called, which
      quickly returned. Then the transfer() loop kept continuing at full speed
      forever."
      3ce43764
  2. Dec 01, 2006
  3. Nov 25, 2006
    • Daniel Stenberg's avatar
      Venkat Akella found out that libcurl did not like HTTP responses that simply · da58d03f
      Daniel Stenberg authored
      responded with a single status line and no headers nor body. Starting now, a
      HTTP response on a persistent connection (i.e not set to be closed after the
      response has been taken care of) must have Content-Length or chunked
      encoding set, or libcurl will simply assume that there is no body.
      
      To my horror I learned that we had no less than 57(!) test cases that did bad
      HTTP responses like this, and even the test http server (sws) responded badly
      when queried by the test system if it is the test system. So although the
      actual fix for the problem was tiny, going through all the newly failing test
      cases got really painful and boring.
      da58d03f
  4. Nov 24, 2006
  5. Nov 13, 2006
  6. Nov 09, 2006
  7. Nov 08, 2006
  8. Nov 07, 2006
  9. Nov 03, 2006
  10. Nov 02, 2006
  11. Oct 29, 2006
  12. Oct 25, 2006
    • Daniel Stenberg's avatar
      Fixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for the · cde5e35d
      Daniel Stenberg authored
      case when 401 or 407 are returned, *IF* no auth credentials have been given.
      The CURLOPT_FAILONERROR option is not possible to make fool-proof for 401
      and 407 cases when auth credentials is given, but we've now covered this
      somewhat more.
      
      You might get some amounts of headers transferred before this situation is
      detected, like for when a "100-continue" is received as a response to a
      POST/PUT and a 401 or 407 is received immediately afterwards.
      
      Added test 281 to verify this change.
      cde5e35d
  13. Oct 23, 2006
  14. Oct 21, 2006
  15. Oct 18, 2006
  16. Oct 16, 2006
    • Daniel Stenberg's avatar
      Added a check in configure that simply tries to run a program (not when · 67e8d229
      Daniel Stenberg authored
      cross-compiling) in order to detect problems with run-time libraries that
      otherwise would occur when the sizeof tests for curl_off_t would run and
      thus be much more confusing to users. The check of course should run after
      all lib-checks are done and before any other test is used that would run an
      executable built for testing-purposes.
      67e8d229
  17. Oct 13, 2006
  18. Oct 12, 2006
  19. Oct 09, 2006
  20. Oct 06, 2006
  21. Oct 04, 2006
  22. Sep 30, 2006
  23. Sep 28, 2006
  24. Sep 24, 2006
  25. Sep 23, 2006
  26. Sep 21, 2006
  27. Sep 20, 2006
  28. Sep 12, 2006
  29. Sep 11, 2006
  30. Sep 10, 2006
  31. Sep 09, 2006
  32. Sep 08, 2006
  33. Sep 07, 2006