Changes with Apache 2.0.49
+ *) Fix a long delay with CGI requests and keepalive connections on
+ AIX. [Jeff Trawick]
+
*) mod_autoindex: Add 'XHTML' option in order to allow switching between
HTML 3.2 and XHTML 1.0 output. PR 23747. [André Malo]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2004/01/12 15:54:35 $]
+Last modified at [$Date: 2004/01/12 18:31:30 $]
Release:
modules/experimental/cache_cache.c r1.5
+1: jwoolley, bnicholes, rederpj
- * Fix a long delay with CGI requests and keepalive connections on
- AIX.
- modules/generators/mod_cgid.c r1.159
- jerenkrantz: Could we do this on other platforms, too?
- +1: trawick, stoddard, jerenkrantz
-
CURRENT RELEASE NOTES:
* Backwards compatibility is expected of future Apache 2.0 releases,
apr_interval_time_t total = 0;
do {
+#ifdef _AIX
+ /* On AIX, for processes like mod_cgid's script children where
+ * SIGCHLD is ignored, kill(pid,0) returns success for up to
+ * one second after the script child exits, based on when a
+ * daemon runs to clean up unnecessary process table entries.
+ * getpgid() can report the proper info (-1/ESRCH) immediately.
+ */
+ if (getpgid(pid) < 0) {
+#else
if (kill(pid, 0) < 0) {
+#endif
return APR_SUCCESS;
}
apr_sleep(interval);