From: Brian Havard Date: Mon, 1 Nov 1999 10:50:47 +0000 (+0000) Subject: In ap_send_fb_length() don't treat APR_EOF as a fatal error. X-Git-Tag: 1.3.10~202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36fdf82e4500049eab3d0945c806ec17e10b8c64;p=apache 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 --- 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; }