diff options
author | corvid <corvid@lavabit.com> | 2010-01-09 20:33:35 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2010-01-09 20:33:35 +0000 |
commit | d60e5f432769d5761b41bc98e4069182dfe6d21a (patch) | |
tree | 12790f401158503ac4e103d2854dc4eafa091fa0 /src | |
parent | eb81bf9aff9d3add40c16ff8776fd37813819335 (diff) |
don't look for Set-Cookie2 header
Diffstat (limited to 'src')
-rw-r--r-- | src/cache.c | 6 |
1 files changed, 1 insertions, 5 deletions
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); |