[PATCH] HTTP: add support for trailers in HTTP responses

Maxim Dounin mdounin at mdounin.ru
Tue Aug 23 14:57:53 UTC 2016


Hello!

On Fri, Aug 19, 2016 at 02:06:53PM +0300, Valentin V. Bartenev wrote:

> If somebody wants nginx to support trailers then why not,
> as long as this feature is optional.

The problem is that every feature implies additional complexity 
and support costs.  Moreover, in case of trailers - certainly 
additional security concerns.

Just adding all possible features won't work, as you will end up 
with a huge and bloated piece of junk.  And that's why I asking 
for real-world use cases to make sure features added are in fact 
needed and benefits from features added outwheigh support costs.

In case of trailers, there is additional argument of trailers 
being [mostly] unused for almost twenty years since introduction 
in HTTP/1.1.

You may also find interesting this comment in the 
thread previously linked here:

https://github.com/whatwg/fetch/issues/34#issuecomment-122377633

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list