From 347bffaba4bd86b84d1b99e8674f422b7c4207e5 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Fri, 8 Jun 2001 16:53:15 +0000 Subject: [PATCH] Applied the same lingering_close() fix to NetWare that Windows implemented. Using the recv() function instead of read(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@89311 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/http_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/http_main.c b/src/main/http_main.c index 260fb2e426c..9eb7bed4156 100644 --- a/src/main/http_main.c +++ b/src/main/http_main.c @@ -1565,7 +1565,7 @@ static void lingering_close(request_rec *r) select_rv = ap_select(lsd + 1, &lfds, NULL, NULL, &tv); } while ((select_rv > 0) && -#ifdef WIN32 +#if defined(WIN32) || defined(NETWARE) (recv(lsd, dummybuf, sizeof dummybuf, 0) > 0)); #else (read(lsd, dummybuf, sizeof dummybuf) > 0)); -- 2.47.2