]> granicus.if.org Git - apache/commit
In core_output_filter(), reset nbytes to zero after calling
authorJeff Trawick <trawick@apache.org>
Wed, 4 Oct 2000 22:09:46 +0000 (22:09 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 4 Oct 2000 22:09:46 +0000 (22:09 +0000)
commit73be8aa19993d0859a847591e961e24fb61aa56c
tree02dbb682bfb07c9efba4e31d68df50db1b6cecec
parenta98b5c558699a6384c842ab4b9462affb78dc22d
In core_output_filter(), reset nbytes to zero after calling
writev_it_all() in case we have another brigade to process.
Otherwise, nbytes is bogus for the second brigade and
writev_it_all() doesn't know when to quit (it loops).

In writev_it_all(), when compensating for bytes already sent
don't go beyond the number of iovs we were passed on input.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86391 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_core.c