httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ICS.UCI.EDU>
Subject [PATCH] scan_script_header_err fails to kill timeout on error
Date Tue, 04 Feb 1997 08:27:14 GMT
This is a simple bug fix, probably unrelated to the CGI script problems.
 
.....Roy

Index: util_script.c
===================================================================
RCS file: /export/home/cvs/apache/src/util_script.c,v
retrieving revision 1.41
diff -c -r1.41 util_script.c
*** util_script.c	1997/01/20 04:28:17	1.41
--- util_script.c	1997/02/04 08:00:11
***************
*** 306,311 ****
--- 306,312 ----
      while(1) {
  
  	if (fgets(w, MAX_STRING_LEN-1, f) == NULL) {
+ 	    kill_timeout (r);
  	    log_reason ("Premature end of script headers", r->filename, r);
  	    return SERVER_ERROR;
          }

Mime
View raw message