summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-06-10 20:51:38 +0200
committerJeff Trawick <trawick@apache.org>2002-06-10 20:51:38 +0200
commitb9850574f2904276080a84d18e75512426b6aa54 (patch)
tree8b3ff6f87848d32e0e28277a5ff2c754d52a06a0 /server
parentfix compile breakage on platforms with default atomics (diff)
downloadapache2-b9850574f2904276080a84d18e75512426b6aa54.tar.xz
apache2-b9850574f2904276080a84d18e75512426b6aa54.zip
ap_finalize_sub_req_protocol() shouldn't send an EOS bucket if
one was already sent. mod_ext_filter performs some one-time processing when it sees EOS. When it saw EOS more than once and a subsequent attempt to close a file failed, it issued the log message described in PR 9644. PR: 9644 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95595 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/protocol.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/protocol.c b/server/protocol.c
index dbe6020158..cfc03cd6ea 100644
--- a/server/protocol.c
+++ b/server/protocol.c
@@ -1033,7 +1033,10 @@ static void end_output_stream(request_rec *r)
void ap_finalize_sub_req_protocol(request_rec *sub)
{
- end_output_stream(sub);
+ /* tell the filter chain there is no more content coming */
+ if (!sub->eos_sent) {
+ end_output_stream(sub);
+ }
}
/* finalize_request_protocol is called at completion of sending the