httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] scan_script_header_err fails to kill timeout on error
Date Thu, 06 Feb 1997 08:49:48 GMT
Why is the kill_timeout() necessary here but not in other error
situations?  Like I notice mod_include does it, but default_handler
doesn't... 

Dean

On Tue, 4 Feb 1997, Roy T. Fielding wrote:

> 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