Changes with Apache 2.0.49
+ *) Add mod_status hook to allow modules to add to the mod_status
+ report. [Joe Orton]
+
*) Fix htdbm to generate comment fields in DBM files correctly.
[Justin Erenkrantz]
@cp -p $(srcdir)/modules/dav/main/mod_dav.h $(DESTDIR)$(includedir)
@cp -p $(srcdir)/modules/filters/mod_include.h $(DESTDIR)$(includedir)
@cp -p $(srcdir)/modules/generators/mod_cgi.h $(DESTDIR)$(includedir)
+ @cp -p $(srcdir)/modules/generators/mod_status.h $(DESTDIR)$(includedir)
@cp -p $(srcdir)/modules/loggers/mod_log_config.h $(DESTDIR)$(includedir)
@cp -p $(srcdir)/modules/http/mod_core.h $(DESTDIR)$(includedir)
@cp -p $(srcdir)/modules/proxy/mod_proxy.h $(DESTDIR)$(includedir)
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/12/27 07:41:28 $]
+Last modified at [$Date: 2003/12/27 12:00:42 $]
Release:
jerenkrantz: Could we do this on other platforms, too?
+1: trawick, stoddard, jerenkrantz
- * mod_status hook
- configure.in r1.254
- Makefile.in r1.134
- modules/generators/mod_status.c r1.73
- modules/generators/mod_status.h r1.1,r1.2
- +1: trawick, ianh, jerenkrantz
-
CURRENT RELEASE NOTES:
* Backwards compatibility is expected of future Apache 2.0 releases,
APR_ADDTO(INCLUDES, [-I\$(srcdir) -I\$(top_builddir)/server/mpm/\$(MPM_SUBDIR_NAME) -I\$(top_builddir)/include])
fi
-APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/os/\$(OS_DIR) -I\$(top_srcdir)/server/mpm/\$(MPM_SUBDIR_NAME) -I\$(top_srcdir)/modules/http -I\$(top_srcdir)/modules/filters -I\$(top_srcdir)/modules/proxy -I\$(top_srcdir)/include])
+APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/os/\$(OS_DIR) -I\$(top_srcdir)/server/mpm/\$(MPM_SUBDIR_NAME) -I\$(top_srcdir)/modules/http -I\$(top_srcdir)/modules/filters -I\$(top_srcdir)/modules/proxy -I\$(top_srcdir)/include -I\$(top_srcdir)/modules/generators])
echo $ac_n "${nl}Applying OS-specific hints for httpd ...${nl}"
#include <time.h>
#include "scoreboard.h"
#include "http_log.h"
+#include "mod_status.h"
#if APR_HAVE_UNISTD_H
#include <unistd.h>
#endif
static pid_t child_pid;
#endif
+/* Implement 'ap_run_status_hook'. */
+AP_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(int,status_hook,
+ (request_rec *r, int flags),
+ (r, flags),
+ OK, DECLINED)
+
/*
* command-related code. This is here to prevent use of ExtendedStatus
* without status_module included.
}
}
+ {
+ /* Run extension hooks to insert extra content. */
+ int flags =
+ (short_report ? AP_STATUS_SHORT : 0) |
+ (no_table_report ? AP_STATUS_NOTABLE : 0) |
+ (ap_extended_status ? AP_STATUS_EXTENDED : 0);
+
+ ap_run_status_hook(r, flags);
+ }
+
if (!short_report) {
ap_rputs(ap_psignature("<hr />\n",r), r);
ap_rputs("</body></html>\n", r);