Skip to content
  1. Oct 03, 2011
  2. Oct 02, 2011
    • Daniel Stenberg's avatar
      multi: progress function abort must close connection · 9dd85bce
      Daniel Stenberg authored
      When the progress function returns to cancel the request, we must mark
      the connection to get closed and it must do to the DONE state.
      
      do_init() must be called as early as possible so that state variables
      for new connections are reset early. We could otherwise see that the old
      values were still there when a connection was to be disconnected very
      early and it would make it behave wrongly.
      
      Bug: http://curl.haxx.se/mail/lib-2011-10/0006.html
      Reported by: Vladimir Grishchenko
      9dd85bce
  3. Sep 30, 2011
  4. Sep 29, 2011
  5. Sep 28, 2011
  6. Sep 27, 2011
  7. Sep 26, 2011
  8. Sep 25, 2011
  9. Sep 24, 2011
    • Daniel Stenberg's avatar
      POST: always set postfieldsize · 745014b7
      Daniel Stenberg authored
      When we use binary posts and regular ones intermixed on a single command
      line, we cannot do strlen() etc on the data to figure out the length
      (when inserting '&' and more). We must therefore keep track of the post
      data length. Then we also end up setting the libcurl option with the
      known size, so that we don't risk that libcurl will do strlen() on the
      data.
      
      This has the minor side-effect that --libcurl source codes now always
      will use CURLOPT_POSTFIELDSIZE but I don't consider that terribly
      damaging.
      
      Bug: http://curl.haxx.se/bug/view.cgi?id=3413181
      Reported by: Taneli Vähäkangas
      745014b7