HTTP/2: used bitwise operation to replace division and modulo.

2018-03-04 Thread tokers
# HG changeset patch # User Alex Zhang # Date 1520229178 -28800 # Mon Mar 05 13:52:58 2018 +0800 # Node ID 03ecef37a93d541e55802393636c101a4da14550 # Parent 265c29b0b8b8c54b1c623268481ed85324ce3c79 HTTP/2: used bitwise operation to replace division and modulo.

Re: [PATCH] HTTP/2: make http2 server support http1

2018-03-04 Thread Haitao Lv
@wbr > On Mar 4, 2018, at 13:49, Haitao Lv wrote: > > Here is the new patch > > diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c > index 9d8b6d79..c06ef7c7 100644 > --- a/src/http/ngx_http.c > +++ b/src/http/ngx_http.c > @@ -1197,6 +1197,7 @@

Re: [PATCH] HTTP/2: make http2 server support http1

2018-03-04 Thread Haitao Lv
> On Mar 4, 2018, at 21:00, Valentin V. Bartenev wrote: > > On Sunday, 4 March 2018 05:53:36 MSK Haitao Lv wrote: >> Hi, wbr, >> >> Thanks for your review. I don't know why I can't receive your email. >> Let me reply directly. >> >>> It doesn't look like a useful feature.