From 2829b125292aa2952d5bfe79138d94921648e607 Mon Sep 17 00:00:00 2001 From: Brian Havard Date: Wed, 3 Nov 1999 12:47:23 +0000 Subject: [PATCH] OS/2: Don't return APR_EOF from ap_read(). EOF is indicated by a APR_SUCCESS status with nbytes set to 0. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84097 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 b2eddc87de7..24a5dff0d81 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2111,7 +2111,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 || rv == APR_EOF) { /* eof */ + if (rv == APR_SUCCESS) { /* eof */ (void) ap_rflush(r); break; } -- 2.47.2