From: Bradley Nicholes Date: Fri, 8 Jun 2001 16:53:15 +0000 (+0000) Subject: Applied the same lingering_close() fix to NetWare that Windows implemented. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=347bffaba4bd86b84d1b99e8674f422b7c4207e5;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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));