cURL / Mailing Lists / curl-library / Single Mail

curl-library

New Cookie: sort order

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Jan 2010 23:30:08 +0100 (CET)

Hey

Yesterday I committed new code in the cookie handling that makes libcurl sort
the cookies in outgoing Cookie: headers. They are sorted on the path length so
that the ones with the longest specified path gets first. This is to make
identically named cookies - set on different path levels - work reliably.

For a slightly longer rant on cookie order and my current discussions in the
httpstate ietf group, see my blog post:
http://daniel.haxx.se/blog/2010/01/20/cookie-order/

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-20