From: Yann Ylavic Date: Tue, 29 Sep 2015 09:17:52 +0000 (+0000) Subject: Revert r1705236, better solution to come. X-Git-Tag: 2.5.0-alpha~2792 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c906045a6ca4b67c7770c543ab5dd85788207cb;p=apache Revert r1705236, better solution to come. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1705820 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index c23d9abab4..6631bf1b19 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/ssl_engine_io.c @@ -472,12 +472,9 @@ static int bio_filter_in_read(BIO *bio, char *in, int inlen) * connection or for a proxy connection. Calling _out_flush * should be very cheap in cases where it is unnecessary (and no * output is buffered) so the performance impact of doing it - * unconditionally should be minimal, but in non blocking mode - * where the caller may not expect the flush round trip (e.g. - * check_pipeline()'s speculative and non-blocking read). + * unconditionally should be minimal. */ - if (block != APR_NONBLOCK_READ && - bio_filter_out_flush(inctx->bio_out) < 0) { + if (bio_filter_out_flush(inctx->bio_out) < 0) { bio_filter_out_ctx_t *outctx = inctx->bio_out->ptr; inctx->rc = outctx->rc; return -1;