Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 39961 invoked by uid 500); 21 Apr 2000 03:52:39 -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 39950 invoked by uid 500); 21 Apr 2000 03:52:39 -0000 Delivered-To: apmail-apache-1.3-cvs@apache.org Date: 21 Apr 2000 03:52:38 -0000 Message-ID: <20000421035238.39946.qmail@locus.apache.org> From: dgaudet@locus.apache.org To: apache-1.3-cvs@apache.org Subject: cvs commit: apache-1.3/htdocs/manual/misc perf-tuning.html dgaudet 00/04/20 20:52:38 Modified: htdocs/manual/misc perf-tuning.html Log: fix buglet in example Revision Changes Path 1.19 +4 -2 apache-1.3/htdocs/manual/misc/perf-tuning.html Index: perf-tuning.html =================================================================== RCS file: /home/cvs/apache-1.3/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:52:38 1.19 @@ -475,8 +475,10 @@ select (s for reading, 2 second timeout); if (error) break; if (s is ready for reading) { - read (s, junk_buffer, sizeof (junk_buffer)); - /* just toss away whatever is here */ + if (read (s, junk_buffer, sizeof (junk_buffer)) <= 0) { + break; + } + /* just toss away whatever is read */ } }