dgaudet 98/03/10 01:42:46
Modified: src/modules/standard mod_include.c
Log:
Oh this is a nice one. I hope to followup to new-httpd about this one
eventually. signals are a mess. It's bogus for mod_include to be
doing a hard_timeout() and then running subrequests and all that other
fun stuff.
Revision Changes Path
1.74 +5 -0 apache-1.3/src/modules/standard/mod_include.c
Index: mod_include.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_include.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- mod_include.c 1998/02/21 12:26:22 1.73
+++ mod_include.c 1998/03/10 09:42:45 1.74
@@ -2311,6 +2311,11 @@
add_cgi_vars(r);
add_include_vars(r, DEFAULT_TIME_FORMAT);
}
+ /* XXX: this is bogus, at some point we're going to do a subrequest,
+ * and when we do it we're going to be subjecting code that doesn't
+ * expect to be signal-ready to SIGALRM. There is no clean way to
+ * fix this, except to put alarm support into BUFF. -djg
+ */
hard_timeout("send SSI", r);
#ifdef CHARSET_EBCDIC