1. 03 Oct, 2011 6 commits
  2. 02 Oct, 2011 1 commit
    • 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. 30 Sep, 2011 4 commits
  4. 29 Sep, 2011 5 commits
  5. 28 Sep, 2011 5 commits
  6. 27 Sep, 2011 3 commits
  7. 26 Sep, 2011 5 commits
  8. 25 Sep, 2011 10 commits
  9. 24 Sep, 2011 1 commit
    • 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