httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject Re: inetd fix
Date Mon, 10 Jun 1996 13:06:07 GMT

The fix makes sense.

As an aside, how did you debug this? How do I get an inetd configured
server into the debugger?


> Sometimes the fixes for these things are too darn simple... just spent
> nintey minutes tracing through the entire Apache handling of an inetd
> request before I finially realized what the problem was. Here's a
> patch. We should probably put it in 1.1b3; it makes inetd requests
> work correctly. Thoughts?
> 
> *** http_main.c	1996/06/08 21:34:21	1.36
> --- http_main.c	1996/06/10 06:29:32
> ***************
> *** 1557,1562 ****
> --- 1557,1565 ----
>             r = read_request (conn);
>             if (r) process_request (r);
>           }
> + 
> + 	bflush(cio);
> + 	bclose(cio);
>       }
>       exit (0);
>   }
> 
> 
> -- 
> ________________________________________________________________________
> Alexei Kosut <akosut@nueva.pvt.k12.ca.us>      The Apache HTTP Server
> URL: http://www.nueva.pvt.k12.ca.us/~akosut/   http://www.apache.org/




Mime
View raw message