On Thu, 22 Mar 2001, jean-frederic clere wrote:

> GOMEZ Henri wrote:
> >
> > >> I'm rewriting it using APR... As we speak...
> > >>
> > >>     Pier (under the snow in Dublin)
> > >>
> > >
> >
> > APR is a great piece of code but it will restrict Tomcat
> > to have only one front-end, Apache Web Server.
>
> No, that is not exactly the goal of APR, it is USED by APACHE2.0 but
> should/could be standalone. But it means probabably 2 portables run time for the
> non-Apache servers.
>
> I prefer to use apr_socket_create() than to see several #ifdef #else #endif in
> mod_webapp, the portability problems should not be solved in mod_webapp but in
> another layer.
>
> Ryan, correct me if I am wrong.

You are 100% correct.  Let me give a bit more detail.  Covalent is
currently using APR in many of our modules that work with Apache 1.3.
This is actually harder than a module that works with a different web
server, because there are some overlapping concepts that don't match
exactly between APR and Apache 1.3.

APR is a great piece of code, that really makes ANY C code portable,
regardless of whether it is integrated with Apache 2.0.  There are
functions to convert from OS specific types to APR types so that we can
work with other programs.

Please, keep me on this discussion, I want to be sure that if there are
any questions, I can help where possible.

Ryan
_______________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------

Reply via email to