How about to add splice
Maxim Dounin
mdounin at mdounin.ru
Thu Dec 10 15:36:54 UTC 2015
Hello!
On Thu, Dec 10, 2015 at 03:31:23PM +0100, Lukas Tribus wrote:
> >>> It only can be useful for proxying big amounts of data without any
> >>> processing. But if you need compression, or TLS, or SSI, or even some
> >>> simple substitution, then splice() cannot be used.
> >>>
> >> It should fit in our stream quite nicely.
> >
> > Not really, as stream is able to do SSL encoding and decoding.
>
> We also have sendfile() in nginx despite the fact that it can't be used
> in every single occasion, such as TLS sessions or when gzipping.
For sure it can be handled like sendfile(), and only used when
possible. I'm just saying that even with the stream module the
question is still the same as outlined by Valentin - questionable
potential benefits vs. added complexity.
--
Maxim Dounin
http://nginx.org/
More information about the nginx
mailing list