From: Jeff Trawick Date: Thu, 2 Nov 2000 12:27:05 +0000 (+0000) Subject: In writev_it_all(), tell the caller how many bytes were sent. X-Git-Tag: APACHE_2_0_ALPHA_8~196 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1cd4c7354180145e10d41d5dbe4d4032839e5377;p=apache 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 --- 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