]> granicus.if.org Git - apache/commitdiff
mod_ssl: follow up to r1844928: revert an unintentional change.
authorYann Ylavic <ylavic@apache.org>
Sat, 27 Oct 2018 07:33:57 +0000 (07:33 +0000)
committerYann Ylavic <ylavic@apache.org>
Sat, 27 Oct 2018 07:33:57 +0000 (07:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1844942 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_io.c

index 229f0c0f1f41629d71f21171c819877dc23ca0f1..d2fd04ca156f9bcb4bd81a3909b00d745ae84c99 100644 (file)
@@ -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);