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

Submitted by: gbechis
Github: closes #603
Reviewed by: covener, jorton, jfclere

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1934919 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_util_ocsp.c

index a202a72ee1084df0f5ea5b59cf399aba5ab25199..9dd12cfe9c314e1ef2616d4f3570f4bea12a8621 100644 (file)
@@ -133,7 +133,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);