[FFmpeg-devel] [PATCH 1/2] lavf/http: Parse and/or expose various client data.
george at nsup.org
Thu Aug 20 17:32:46 CEST 2015
Le tridi 3 fructidor, an CCXXIII, Stephan Holljes a écrit :
> Should the same be done for the Host-parameter sent by the client too?
It can be discussed.
On one hand, the Host field has a special meaning for the protocol, unlike
User-Agent that is only used for logging, so it makes sense to give it a
On the other hand, if there is a mechanism to access all fields, there is no
reason to have a special case for it.
Actually, I suspect you could have written the code for the AVDictionary
(with a hardcoded total size limit to avoid DoS, for now) in the time before
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel