[nginx] support http2 per server
洪志道
hongzhidao at gmail.com
Fri Jun 9 12:26:03 UTC 2017
Get it, thanks.
On Fri, Jun 9, 2017 at 7:45 PM, Valentin V. Bartenev <vbart at nginx.com>
wrote:
> On Friday 09 June 2017 13:40:23 洪志道 wrote:
> > Hi, Valentin.
> >
> > "
> > Also please note that with your patch clients are still able to
> > negotiate HTTP/2 even if nginx doesn't announce it.
> > "
> >
> > Two points:
> > 1. The patch forbids the clients explicitly not support HTTP/2 doing v2 (
> > ngx_http_v2_init).
> > How to follow you mean of "with the patch, clients are still able to
> > negotiate HTTP/2"
> > 2. "even if nginx doesn't announce it"
> > Is it related to nginx?
> >
> [..]
>
> Your patch prevents advertising the protocol using ALPN and NPN, but
> selecting protocol happens here (this part of code isn't touched):
> http://hg.nginx.org/nginx/file/tip/src/http/ngx_http_request.c#l808
>
> In case of NPN, client can select protocol even if it hasn't been
> advertised by the server.
>
> wbr, Valentin V. Bartenev
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170609/5c66e323/attachment.html>
More information about the nginx-devel
mailing list