From 36fdf82e4500049eab3d0945c806ec17e10b8c64 Mon Sep 17 00:00:00 2001 From: Brian Havard Date: Mon, 1 Nov 1999 10:50:47 +0000 Subject: [PATCH] In ap_send_fb_length() don't treat APR_EOF as a fatal error. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84081 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index d9f68cb72e..57073b43b8 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2095,7 +2095,7 @@ API_EXPORT(long) ap_send_fb_length(BUFF *fb, request_rec *r, long length) while (!ap_is_aborted(r->connection)) { rv = ap_bread(fb, buf, sizeof(buf), &n); if (n == 0) { - if (rv == APR_SUCCESS) { /* eof */ + if (rv == APR_SUCCESS || rv == APR_EOF) { /* eof */ (void) ap_rflush(r); break; } -- 2.50.1