1. 10 Mar, 2016 5 commits
    • Daniel Stenberg's avatar
      ftp: remove a check for NULL(!) · 863c5766
      Daniel Stenberg authored
      ... as it implies we need to check for that on all the other variable
      references as well (as Coverity otherwise warns us for missing NULL
      checks), and we're alredy making sure that the pointer is never NULL.
      863c5766
    • Daniel Stenberg's avatar
      cookies: first n/v pair in Set-Cookie: is the cookie, then parameters · 7f7fcd0d
      Daniel Stenberg authored
      RFC 6265 section 4.1.1 spells out that the first name/value pair in the
      header is the actual cookie name and content, while the following are
      the parameters.
      
      libcurl previously had a more liberal approach which causes significant
      problems when introducing new cookie parameters, like the suggested new
      cookie priority draft.
      
      The previous logic read all n/v pairs from left-to-right and the first
      name used that wassn't a known parameter name would be used as the
      cookie name, thus accepting "Set-Cookie: Max-Age=2; person=daniel" to be
      a cookie named 'person' while an RFC 6265 compliant parser should
      consider that to be a cookie named 'Max-Age' with an (unknown) parameter
      'person'.
      
      Fixes #709
      7f7fcd0d
    • Daniel Stenberg's avatar
    • Daniel Stenberg's avatar
      549b1a43
    • Daniel Stenberg's avatar
      curl_multi_wait: never return -1 in 'numfds' · 77e17267
      Daniel Stenberg authored
      Such a return value isn't documented but could still happen, and the
      curl tool code checks for it. It would happen when the underlying
      Curl_poll() function returns an error. Starting now we mask that error
      as a user of curl_multi_wait() would have no way to handle it anyway.
      
      Reported-by: Jay Satiro
      Closes #707
      77e17267
  2. 09 Mar, 2016 2 commits
  3. 08 Mar, 2016 6 commits
  4. 07 Mar, 2016 6 commits
  5. 06 Mar, 2016 12 commits
  6. 05 Mar, 2016 5 commits
  7. 03 Mar, 2016 1 commit
  8. 01 Mar, 2016 2 commits
  9. 29 Feb, 2016 1 commit