From 1cd4c7354180145e10d41d5dbe4d4032839e5377 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Thu, 2 Nov 2000 12:27:05 +0000 Subject: [PATCH] In writev_it_all(), tell the caller how many bytes were sent. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86798 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/http/http_core.c b/modules/http/http_core.c index ddc316fcf1..f387f4bbd4 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -2579,6 +2579,7 @@ static apr_status_t writev_it_all(apr_socket_t *s, struct iovec *vec, int nvec, bytes_written += n; if (rv != APR_SUCCESS) return rv; + *nbytes += n; /* If the write did not complete, adjust the iovecs and issue * apr_sendv again -- 2.50.1