From: Yann Ylavic Date: Sat, 27 Oct 2018 07:33:57 +0000 (+0000) Subject: mod_ssl: follow up to r1844928: revert an unintentional change. X-Git-Tag: 2.5.0-alpha2-ci-test-only~2256 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cd2a17307ded68d584ee6da0f4164aa131e85da;p=thirdparty%2Fapache%2Fhttpd.git mod_ssl: follow up to r1844928: revert an unintentional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1844942 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index 229f0c0f1f4..d2fd04ca156 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/ssl_engine_io.c @@ -741,7 +741,7 @@ static apr_status_t ssl_io_input_read(bio_filter_in_ctx_t *inctx, rc = SSL_read(inctx->filter_ctx->pssl, buf + bytes, wanted - bytes); if (rc > 0) { - *len = rc; + *len += rc; if (inctx->mode == AP_MODE_SPECULATIVE) { /* We want to rollback this read. */ char_buffer_write(inctx, buf, rc);