httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ricardo13 <>
Subject Doesn't process request - pre_connection hook
Date Mon, 10 Aug 2009 19:16:00 GMT


I did a module (mod_helloWorld.c) and I'm using pre_connection hook.
My problem's ...... How do I play out a connection in pre_connection hook??

For example, my module run the follow code:

static int pre_connection(conn_rec *c, void csd) {

     if (IP =  process request
     else if (IP = yyy.yyy.yyy.yyy)  play out request

     return 0;

I tried to assign NULL for csd and c, but don't work.
Just it !!

View this message in context:
Sent from the Apache HTTP Server - Module Writers mailing list archive at

View raw message