[FFmpeg-devel] [PATCH 1/2] lavf/http: Parse and/or expose various client data.

Nicolas George 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
special meaning.

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
my reply.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150820/a689c122/attachment.sig>


More information about the ffmpeg-devel mailing list