httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Cox <...@hyperreal.com>
Subject cvs commit: apache/src http_main.c
Date Thu, 18 Apr 1996 11:16:39 GMT
mjc         96/04/18 04:16:39

  Modified:    src       http_main.c
  Log:
  Submitted by: Robert S. Thau <rst@ai.mit.edu>
  
  Nuke the "memory hog alert" error message from http_main.c.  This
  originally crept into the code back when the current code base was
  still the Shambhala project.  It has no value whatever to end users,
  and invariably confuses the hell out of the ones who notice it.
  
  Revision  Changes    Path
  1.24      +2 -2      apache/src/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_main.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -C3 -r1.23 -r1.24
  *** http_main.c	1996/04/17 16:36:34	1.23
  --- http_main.c	1996/04/18 11:16:36	1.24
  ***************
  *** 1190,1201 ****
    	  if (r) increment_counts(child_num,r);
    #endif
    	}
  ! 	
    	if (bytes_in_pool (ptrans) > 80000)
    	    log_printf(r->server,
    		       "Memory hog alert: allocated %ld bytes for %s",
    		       bytes_in_pool (ptrans), r->the_request);
  ! 		
    	bflush(conn_io);
    	bclose(conn_io);
        }    
  --- 1190,1201 ----
    	  if (r) increment_counts(child_num,r);
    #endif
    	}
  ! #if 0	
    	if (bytes_in_pool (ptrans) > 80000)
    	    log_printf(r->server,
    		       "Memory hog alert: allocated %ld bytes for %s",
    		       bytes_in_pool (ptrans), r->the_request);
  ! #endif		
    	bflush(conn_io);
    	bclose(conn_io);
        }    
  
  
  

Mime
View raw message