You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by ricardo13 <ri...@gmail.com> on 2009/08/10 21:16:00 UTC
Doesn't process request - pre_connection hook
Hi,
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 = xxx.xxx.xxx.xxx) 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 !!
Ricardo
--
View this message in context: http://www.nabble.com/Doesn%27t-process-request---pre_connection-hook-tp24905793p24905793.html
Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.