changeset 1502:0064b6fc4566

don't look for Set-Cookie2 header
author corvid <corvid@lavabit.com>
date Sat, 09 Jan 2010 20:33:35 +0000
parents 6fd1c55d8022
children f02eb59edc7d
files src/cache.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/cache.c	Sat Jan 09 20:32:07 2010 +0000
+++ b/src/cache.c	Sat Jan 09 20:33:35 2010 +0000
@@ -728,11 +728,7 @@
    dFree(encoding); /* free Transfer-Encoding */
 
 #ifndef DISABLE_COOKIES
-   /* BUG: If a server feels like mixing Set-Cookie2 and Set-Cookie
-    * responses which aren't identical, then we have a problem. I don't
-    * know if that is a real issue though. */
-   if ((Cookies = Cache_parse_multiple_fields(header, "Set-Cookie2")) ||
-       (Cookies = Cache_parse_multiple_fields(header, "Set-Cookie"))) {
+   if ((Cookies = Cache_parse_multiple_fields(header, "Set-Cookie"))) {
       char *server_date = Cache_parse_field(header, "Date");
 
       a_Cookies_set(Cookies, entry->Url, server_date);