]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Applied the same lingering_close() fix to NetWare that Windows implemented.
authorBradley Nicholes <bnicholes@apache.org>
Fri, 8 Jun 2001 16:53:15 +0000 (16:53 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Fri, 8 Jun 2001 16:53:15 +0000 (16:53 +0000)
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

index 260fb2e426c318a5d5124cd4b448045dafffc8bc..9eb7bed41562ce9629fa9d3d08ba463bb8ce0b75 100644 (file)
@@ -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));