git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83434
13f79535-47bb-0310-9956-
ffa450edef68
#ifndef APACHE_HTTP_CONNECTION_H
#define APACHE_HTTP_CONNECTION_H
+#include "ap_hooks.h"
+
#ifdef __cplusplus
extern "C" {
#endif
int child_num, int thread_num);
CORE_EXPORT(void) ap_process_connection(conn_rec *);
+ /* Hooks */
+DECLARE_HOOK(void,pre_connection,(conn_rec *))
+
#ifdef __cplusplus
}
#endif
#include "http_config.h"
#include "http_vhost.h"
+HOOK_STRUCT(
+ HOOK_LINK(pre_connection)
+);
+
+IMPLEMENT_VOID_HOOK(pre_connection,(conn_rec *c),(c),1)
+
/* TODO: re-implement the lingering close stuff */
#define NO_LINGCLOSE
ap_update_vhost_given_ip(c);
- ap_run_pre_connection(c);
+ run_pre_connection(c);
/*
* Read and process each request found on our connection