Skip to content
  1. Mar 10, 2016
    • 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. Mar 09, 2016
  3. Mar 08, 2016
  4. Mar 07, 2016
  5. Mar 06, 2016
  6. Mar 05, 2016
  7. Mar 03, 2016
  8. Mar 01, 2016
  9. Feb 29, 2016
  10. Feb 28, 2016