aio breaks spdy

Richard Kearsley richard at kearsley.me
Sat Aug 16 22:04:14 UTC 2014


Hi

Tested 1.6.1 and 1.7.4
Speed is back to normal

Many thanks!
Richard

On 16/08/14 23:19, Valentin V. Bartenev wrote:
> On Saturday 16 August 2014 01:27:19 Richard Kearsley wrote:
>> attached
> Thank you for the report.
> Please, try the following patch:
>
> diff -r f1e05e533c8b src/http/ngx_http_request.c
> --- a/src/http/ngx_http_request.c       Thu Jul 31 13:59:37 2014 +0400
> +++ b/src/http/ngx_http_request.c       Sun Aug 17 01:16:50 2014 +0400
> @@ -2656,6 +2656,12 @@ ngx_http_writer(ngx_http_request_t *r)
>   
>       if (r->buffered || r->postponed || (r == r->main && c->buffered)) {
>   
> +#if (NGX_HTTP_SPDY)
> +        if (r->spdy_stream) {
> +            return;
> +        }
> +#endif
> +
>           if (!wev->delayed) {
>               ngx_add_timer(wev, clcf->send_timeout);
>           }
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list