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-2.0/htdocs/manual/misc perf-tuning.html
Date Fri, 21 Apr 2000 03:54:39 GMT
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 */
   	    }
   	}
  
  
  

Mime
View raw message