You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Alexei Kosut <ak...@nueva.pvt.k12.ca.us> on 1996/06/10 08:32:09 UTC
inetd fix
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 <ak...@nueva.pvt.k12.ca.us> The Apache HTTP Server
URL: http://www.nueva.pvt.k12.ca.us/~akosut/ http://www.apache.org/