OOPS, sorry. I was following the mod_apachecon.c, which seems a bit out
of date :-(
Bojan
On Sat, 2002-11-02 at 05:07, [EMAIL PROTECTED] wrote:
> wrowe 2002/11/01 10:07:53
>
> Modified: os/win32 BaseAddr.ref
> modules/loggers mod_logio.c
> Log:
> Well that was a little borked, if you were having stack problems using
> logio the missing pre_connection hook declartion could have something
> to do with it.
>
> Revision Changes Path
> 1.22 +1 -0 httpd-2.0/os/win32/BaseAddr.ref
>
> Index: BaseAddr.ref
> ===================================================================
> RCS file: /home/cvs/httpd-2.0/os/win32/BaseAddr.ref,v
> retrieving revision 1.21
> retrieving revision 1.22
> diff -u -r1.21 -r1.22
> --- BaseAddr.ref 14 Sep 2002 16:34:16 -0000 1.21
> +++ BaseAddr.ref 1 Nov 2002 18:07:52 -0000 1.22
> @@ -60,3 +60,4 @@
> mod_authz_groupfile 0x6FB10000 0x00010000
> mod_authz_host 0x6FB00000 0x00010000
> mod_authz_user 0x6FAF0000 0x00010000
> +mod_logio 0x6FAE0000 0x00010000
>
>
>
> 1.3 +2 -1 httpd-2.0/modules/loggers/mod_logio.c
>
> Index: mod_logio.c
> ===================================================================
> RCS file: /home/cvs/httpd-2.0/modules/loggers/mod_logio.c,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- mod_logio.c 25 Oct 2002 06:52:02 -0000 1.2
> +++ mod_logio.c 1 Nov 2002 18:07:52 -0000 1.3
> @@ -81,6 +81,7 @@
> #include "httpd.h"
> #include "http_core.h"
> #include "http_config.h"
> +#include "http_connection.h"
> #include "http_protocol.h"
>
> module AP_MODULE_DECLARE_DATA logio_module;
> @@ -182,7 +183,7 @@
> * The hooks...
> */
>
> -static int logio_pre_conn(conn_rec *c) {
> +static int logio_pre_conn(conn_rec *c, void *csd) {
> logio_config_t *cf = apr_pcalloc(c->pool, sizeof(*cf));
>
> ap_set_module_config(c->conn_config, &logio_module, cf);
>
>
>
>