httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe JAILLET <christophe.jail...@wanadoo.fr>
Subject Re: svn commit: r1711503 - in /httpd/httpd/trunk/modules/http2: h2_conn_io.c h2_conn_io.h h2_io.c h2_io.h h2_mplx.c h2_mplx.h h2_session.c h2_stream.c h2_stream.h h2_task_input.c h2_util.c h2_util.h
Date Sun, 01 Nov 2015 07:25:42 GMT
Hi,

Le 30/10/2015 17:15, icing@apache.org a écrit :
> Author: icing
> Date: Fri Oct 30 16:15:40 2015
> New Revision: 1711503
>
> URL: http://svn.apache.org/viewvc?rev=1711503&view=rev
> Log:
> improved h2c write performance
>
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_session.c?rev=1711503&r1=1711502&r2=1711503&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/modules/http2/h2_session.c (original)
> +++ httpd/httpd/trunk/modules/http2/h2_session.c Fri Oct 30 16:15:40 2015
> [...]
> @@ -1180,7 +1203,7 @@ static ssize_t stream_data_cb(nghttp2_se
>       
>       AP_DEBUG_ASSERT(!h2_stream_is_suspended(stream));
>       
> -    if (h2_conn_io_is_buffered(&session->io)) {
> +    if (1 || h2_conn_io_is_buffered(&session->io)) {
>           status = h2_stream_prep_read(stream, &nread, &eos);
>           if (nread) {
>               *data_flags |=  NGHTTP2_DATA_FLAG_NO_COPY;
>
Is it intentional or a left-over?

CJ


Mime
View raw message