httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@locus.apache.org
Subject cvs commit: apache-1.3/htdocs/manual/misc perf-tuning.html
Date Fri, 21 Apr 2000 03:52:38 GMT
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 */
   	    }
   	}
   
  
  
  

Mime
View raw message