Thanks for a terrific explanation of the -DEAPI situation.

So then, when I still get the Plain Apache error after compiling after
adding -DEAPI to my C compiler flags...it doesn't necessarily mean that it
recognizes I am including the mod_so.c (so I can add the jserv module in
httpd.conf) and that it is OK because using -DEPAI will keep me safe?  I
woud suspect I still have something wrong, correct?

Ultimately I am expecting that I do not see the warning when launching
Apache.  Is that what I should suspect?  Because at the moment, I am still
seeing it.

Thanks again for the great response and guidance,
Rob Mazur
----- Original Message -----
From: "Rich Salz" <[EMAIL PROTECTED]>
To: "Robert Mazur" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 09, 2001 5:48 PM
Subject: Re: DEAPI (revisited)


> Apache 1.x modules work by registering a table of function pointers, and
> the apache core calls out at various points in processing.  In order to
> make SSL work, Ralph added some more callbacks. They are added to the
> *end* of the current table.  This extendaed API, EAPI, is enabled by
> adding -DEAPI to your C compiler flags.
>
> Old source compiled with -DEAPI works because C guarantees that the
> extra pointers at the end will be NULL, and the Apache core won't call
> them.  Old objects linked with new objects *could* fail miserably,
> because instead of having NULL pointers, the old objects have whatever
> data happend to fall after their table, which probably isn't a valid
> callback function pointer, but also probably isn't NULL.
>
> So apache starts.  Depending on which old modules are loaded, how the
> compiled laid out their data, etc., etc., it might work.  Or Apache
> might jmp off into never-never land, segfault, and die.
>
> Hope this helps.  If there's a FAQ maintainer, perhaps this text will be
> useful to add.
> /r$
> --
> Zolera Systems, Securing web services (XML, SOAP, Signatures,
> Encryption)
> http://www.zolera.com
>
>

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to