summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-04-05 22:55:00 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-04-05 22:55:00 +0200
commite5200732d3b9ee01762cb61840ec1f17884aaf29 (patch)
tree8f60b70555d5bf6400758ff6d0918b6995e1ec7c /server
parent Clean up breakage introduced recently that sent the wrong headers through (diff)
downloadapache2-e5200732d3b9ee01762cb61840ec1f17884aaf29.tar.xz
apache2-e5200732d3b9ee01762cb61840ec1f17884aaf29.zip
Correct partitioning of filter handles between core and http, and
export the handle pointers on Win32. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94468 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/core.c10
-rw-r--r--server/protocol.c1
2 files changed, 6 insertions, 5 deletions
diff --git a/server/core.c b/server/core.c
index dca2ffd57a..c5685b9de3 100644
--- a/server/core.c
+++ b/server/core.c
@@ -120,11 +120,11 @@ AP_IMPLEMENT_HOOK_RUN_ALL(int, get_mgmt_items,
*/
/* Handles for core filters */
-ap_filter_rec_t *ap_subreq_core_filter_handle;
-ap_filter_rec_t *ap_core_output_filter_handle;
-ap_filter_rec_t *ap_content_length_filter_handle;
-ap_filter_rec_t *ap_net_time_filter_handle;
-ap_filter_rec_t *ap_core_input_filter_handle;
+AP_DECLARE_DATA ap_filter_rec_t *ap_subreq_core_filter_handle;
+AP_DECLARE_DATA ap_filter_rec_t *ap_core_output_filter_handle;
+AP_DECLARE_DATA ap_filter_rec_t *ap_content_length_filter_handle;
+AP_DECLARE_DATA ap_filter_rec_t *ap_net_time_filter_handle;
+AP_DECLARE_DATA ap_filter_rec_t *ap_core_input_filter_handle;
static void *create_core_dir_config(apr_pool_t *a, char *dir)
{
diff --git a/server/protocol.c b/server/protocol.c
index 1304a230c0..5ec855ec07 100644
--- a/server/protocol.c
+++ b/server/protocol.c
@@ -86,6 +86,7 @@
#include "http_vhost.h"
#include "http_log.h" /* For errors detected in basic auth common
* support code... */
+#include "mod_core.h"
#include "util_charset.h"
#include "util_ebcdic.h"