lavf/http: fix cookie parsing.
authorNicolas George <george@nsup.org>
Sun, 17 Aug 2014 12:09:45 +0000 (14:09 +0200)
committerNicolas George <george@nsup.org>
Sun, 17 Aug 2014 18:07:27 +0000 (20:07 +0200)
commit481cbc5ad578bbde804464487add074e8c7d1e76
tree7e47b6e6b438e20fb70efbb3207163c9d104e6f3
parent94f60b65446b37132d7bd644ab2c4627d9488295
lavf/http: fix cookie parsing.

The current code would use any unknown attribute-value pair
as the cookie value.
RFC 6265 states that the first key-value pair is the actual
cookie, and the attribute-value pairs only start after.

With the current code:
Set-Cookie: test=good_value; path=/; dummy=42
gives this:
Cookie: dummy=42
instead of this with the new code:
Cookie: test=good_value
libavformat/http.c