]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/ssl/ssl_util_ocsp.c (send_request): Increase wbuf with the
authorJoe Orton <jorton@apache.org>
Wed, 3 Jun 2026 10:43:09 +0000 (10:43 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 3 Jun 2026 10:43:09 +0000 (10:43 +0000)
  len read by apr_socket_send

Submitted by: gbechis
Github: closes #603

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934918 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_util_ocsp.c

index 855f02fc216fb89890c48ab06e2dd47ff47e9659..b30b09d91dc223f89eca2e47cf00cf2fd7faaf58 100644 (file)
@@ -136,7 +136,7 @@ static apr_socket_t *send_request(BIO *request, const apr_uri_t *uri,
             apr_size_t wlen = remain;
 
             rv = apr_socket_send(sd, wbuf, &wlen);
-            wbuf += remain;
+            wbuf += wlen;
             remain -= wlen;
         } while (rv == APR_SUCCESS && remain > 0);