diff options
author | Nicolas George <george@nsup.org> | 2014-08-17 14:24:20 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2014-08-17 20:07:27 +0200 |
commit | 4bebce06175a6a15253c341c180d95cd97c9494b (patch) | |
tree | b6600a235023f6648a60962260eaa5a70920070c | |
parent | 481cbc5ad578bbde804464487add074e8c7d1e76 (diff) | |
download | ffmpeg-4bebce06175a6a15253c341c180d95cd97c9494b.tar.gz |
lavf/http: remove special case for cookies attributes.
With the previous change, unknown attributes are all ignored,
as specified by the RFC.
-rw-r--r-- | libavformat/http.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index bd67645e46..018d25c9d7 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -578,11 +578,6 @@ static int get_cookies(HTTPContext *s, char **cookies, const char *path, int leading_dot = (param[7] == '.'); av_free(cdomain); cdomain = av_strdup(¶m[7+leading_dot]); - } else if (!av_strncasecmp("secure", param, 6) || - !av_strncasecmp("comment", param, 7) || - !av_strncasecmp("max-age", param, 7) || - !av_strncasecmp("version", param, 7)) { - // ignore Comment, Max-Age, Secure and Version } else { // ignore unknown attributes } |