]> granicus.if.org Git - apache/commitdiff
In writev_it_all(), tell the caller how many bytes were sent.
authorJeff Trawick <trawick@apache.org>
Thu, 2 Nov 2000 12:27:05 +0000 (12:27 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 2 Nov 2000 12:27:05 +0000 (12:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86798 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_core.c

index ddc316fcf1e4575694695e84e2096cbd91f2582e..f387f4bbd47bbb1e99d29eb47ccd2a9ef163ab0f 100644 (file)
@@ -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