[FFmpeg-devel] [PATCH] replace cookies with updated values

Micah Galizia micahgalizia at gmail.com
Tue Mar 17 10:55:11 CET 2015


Hi,

The current Set-Cookie handling appends cookies to the string without
checking to see if a cookie with the same name should have its value
updated.

This is my second attempt to fix this issue -- last time it was a bit
of a string parsing nightmare. This time its a little less complex
(using a dictionary).

Before we start the "the existing implementation sucks, change it"
discussion I've looked into passing them around in their dictionary
form (an only using the string to initialize cookies from an external
source) but so far as I can tell, AVDictonary cannot be retrieved
using av_opt_get or av_opt_find right now.

Anyway, I hope this is sufficient for inclusion.

TIA
-- 
"The mark of an immature man is that he wants to die nobly for a
cause, while the mark of the mature man is that he wants to live
humbly for one."   --W. Stekel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-replace-cookies-with-updated-values-instead-of-appen.patch
Type: text/x-patch
Size: 4544 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150317/8b513aab/attachment.bin>


More information about the ffmpeg-devel mailing list