You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2026/06/03 10:43:09 UTC

svn commit: r1934918 - httpd/httpd/trunk/modules/ssl

Author: jorton
Date: Wed Jun  3 10:43:09 2026
New Revision: 1934918

Log:
* modules/ssl/ssl_util_ocsp.c (send_request): Increase wbuf with the
  len read by apr_socket_send

Submitted by: gbechis
Github: closes #603

Modified:
   httpd/httpd/trunk/modules/ssl/ssl_util_ocsp.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_util_ocsp.c
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util_ocsp.c	Wed Jun  3 10:40:17 2026	(r1934917)
+++ httpd/httpd/trunk/modules/ssl/ssl_util_ocsp.c	Wed Jun  3 10:43:09 2026	(r1934918)
@@ -136,7 +136,7 @@ static apr_socket_t *send_request(BIO *r
             apr_size_t wlen = remain;
 
             rv = apr_socket_send(sd, wbuf, &wlen);
-            wbuf += remain;
+            wbuf += wlen;
             remain -= wlen;
         } while (rv == APR_SUCCESS && remain > 0);