Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 40235 invoked by uid 500); 21 Apr 2000 03:54:40 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 40224 invoked by uid 500); 21 Apr 2000 03:54:40 -0000 Delivered-To: apmail-apache-2.0-cvs@apache.org Date: 21 Apr 2000 03:54:39 -0000 Message-ID: <20000421035439.40220.qmail@locus.apache.org> From: dgaudet@locus.apache.org To: apache-2.0-cvs@apache.org Subject: cvs commit: apache-2.0/htdocs/manual/misc perf-tuning.html dgaudet 00/04/20 20:54:39 Modified: htdocs/manual/misc perf-tuning.html Log: fix buglet in example Revision Changes Path 1.19 +3 -1 apache-2.0/htdocs/manual/misc/perf-tuning.html Index: perf-tuning.html =================================================================== RCS file: /home/cvs/apache-2.0/htdocs/manual/misc/perf-tuning.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- perf-tuning.html 2000/01/07 16:38:01 1.18 +++ perf-tuning.html 2000/04/21 03:54:38 1.19 @@ -475,7 +475,9 @@ select (s for reading, 2 second timeout); if (error) break; if (s is ready for reading) { - read (s, junk_buffer, sizeof (junk_buffer)); + if (read (s, junk_buffer, sizeof (junk_buffer)) <= 0) { + break; + } /* just toss away whatever is here */ } }