Skip to content
  1. Mar 23, 2010
    • Daniel Stenberg's avatar
      chunked-encoding with Content-Length: header problem · 7fd32ce7
      Daniel Stenberg authored
      Akos Pasztory filed debian bug report #572276
      http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572276
      mentioning a problem with a resource that returns chunked-encoded
      _and_ with a Content-Length and libcurl failed to properly ignore
      the latter information.
      7fd32ce7
    • Daniel Stenberg's avatar
      delayed easy handle kill caused double Curl_close() call · 2a94293e
      Daniel Stenberg authored
      Hauke Duden provided an example program that made the multi
      interface crash.  His example simply used the multi interface and
      did first one FTP transfer and after completion it used a second
      easy handle and did another FTP transfer on the same FTP server.
      
      This triggered a bug in the "delayed easy handle kill" system
      that curl uses: when an FTP connection is left alive it must keep
      an easy handle around internally - only for the purpose of having
      an easy handle when it later disconnects it. The code assumed
      that when the easy handle was removed and an internal reference
      was made, that version could be killed later on when a new easy
      handle came using the same connection. This was wrong as Hauke's
      example showed that the removed handle wasn't killed for real
      until later. This caused a double close attempt => segfault.
      2a94293e
  2. Mar 22, 2010
    • Thomas Lopatic's avatar
      fix the alarm()-based DNS timeout · 6657f12f
      Thomas Lopatic authored
      Looking at the code of Curl_resolv_timeout() in hostip.c, I think
      that in case of a timeout, the signal handler for SIGALRM never
      gets removed. I think that in my case it gets executed at some
      point later on when execution has long left Curl_resolv_timeout()
      or even the cURL library.
      
      The code that is jumped to with siglongjmp() simply sets the
      error message to "name lookup timed out" and then returns with
      CURLRESOLV_ERROR. I guess that instead of simply returning
      without cleaning up, the code should have a goto that jumps to
      the spot right after the call to Curl_resolv().
      6657f12f
    • douglas steinwand's avatar
      Fix insufficient initialization in Curl_clone_ssl_config() · abcea311
      douglas steinwand authored
      which could have caused a double free when reusing curl handle.
      abcea311
  3. Mar 21, 2010
    • Ben Greear's avatar
      Fix tftp return codes and tsize upload handling · ad76d58e
      Ben Greear authored
      Error codes were not properly returned to the main curl code (and on to apps
      using libcurl).
      
      tftp was crapping out when tsize == 0 on upload, but I see no reason to fail
      to upload just because the remote file is zero-length.  Ignore tsize option on
      upload.
      ad76d58e
  4. Mar 20, 2010
  5. Mar 19, 2010
  6. Mar 18, 2010
  7. Mar 15, 2010
  8. Mar 11, 2010
  9. Mar 06, 2010
  10. Mar 05, 2010
    • Yang Tse's avatar
      · f4551a96
      Yang Tse authored
      Constantine Sapuntzakis detected and fixed a double free in builds done
      with threaded resolver enabled (Windows default configuration) that would
      get triggered when a curl handle is closed while doing DNS resolution.
      f4551a96
  11. Mar 02, 2010
  12. Mar 01, 2010
  13. Feb 26, 2010
  14. Feb 25, 2010
  15. Feb 24, 2010
    • Yang Tse's avatar
      · 5695c4db
      Yang Tse authored
      fix compiler warning
      5695c4db
  16. Feb 23, 2010
    • Yang Tse's avatar
      · 4186b5b4
      Yang Tse authored
      fix compiler warning
      4186b5b4
  17. Feb 22, 2010
  18. Feb 21, 2010
    • Yang Tse's avatar
      · 10affed0
      Yang Tse authored
      fix compiler warning
      10affed0
  19. Feb 20, 2010