From d60e5f432769d5761b41bc98e4069182dfe6d21a Mon Sep 17 00:00:00 2001 From: corvid Date: Sat, 9 Jan 2010 20:33:35 +0000 Subject: don't look for Set-Cookie2 header --- src/cache.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/cache.c b/src/cache.c index 8700502e..6df062b3 100644 --- a/src/cache.c +++ b/src/cache.c @@ -728,11 +728,7 @@ static void Cache_parse_header(CacheEntry_t *entry) 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); -- cgit v1.2.3