[PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jim Jagielski
I've noticed that if you build httpd normally (with DSO capability) and then use apxs to try to build mod_cache, then when you try to run the server you get: mod_cache.so: symbol __floatdidf: referenced symbol not found This is due to the fact that the required math functions to do some date c

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jeff Trawick
On Tue, 7 Sep 2004 09:10:45 -0400, Jim Jagielski <[EMAIL PROTECTED]> wrote: > I've noticed that if you build httpd normally (with DSO capability) > and then use apxs to try to build mod_cache, then when you try > to run the server you get: > >mod_cache.so: symbol __floatdidf: referenced symbol

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jim Jagielski
Jeff Trawick wrote: > > On Tue, 7 Sep 2004 09:10:45 -0400, Jim Jagielski <[EMAIL PROTECTED]> wrote: > > I've noticed that if you build httpd normally (with DSO capability) > > and then use apxs to try to build mod_cache, then when you try > > to run the server you get: > > > >mod_cache.so: sy

[PATCH] backport static module checking in mod_so to 1.3

2004-09-07 Thread Geoffrey Young
hi all. in 2.0 mod_so checks a given LoadModule statement against both static modules and those previously loaded by LoadModule. in 1.3 it checks only against those loaded with LoadModule, leaving open the possibility that someone will try to dynamically load a module that is already compiled int

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jeff Trawick
On Tue, 7 Sep 2004 10:03:39 -0400 (EDT), Jim Jagielski <[EMAIL PROTECTED]> wrote: > > > Jeff Trawick wrote: > > > > On Tue, 7 Sep 2004 09:10:45 -0400, Jim Jagielski <[EMAIL PROTECTED]> wrote: > > > I've noticed that if you build httpd normally (with DSO capability) > > > and then use apxs to try

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Joe Orton
On Tue, Sep 07, 2004 at 10:03:39AM -0400, Jim Jagielski wrote: > Jeff Trawick wrote: > > If you add libgcc.a into any DSO, wouldn't that take care of the > > issue? (does the SH_LIBS variable allow you to specify extra > > libraries that should be linked into DSOs?) > > I'm thinking specifically

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jim Jagielski
True, but this is one that I'm hitting a lot, especially with the increase in cache development going on... And this is the only bundled module that I've hit this on when httpd is build "normally". Joe Orton wrote: > > On Tue, Sep 07, 2004 at 10:03:39AM -0400, Jim Jagielski wrote: > > Jeff Trawi

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jim Jagielski
Jeff Trawick wrote: > > > Get a different compiler? Look for some gcc option to cause it to > generate different code? > This all presumes that you're building httpd knowing in advance that you'll be building mod_cache via apxs later (in which case, if you know that, then why bother) ). I was

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Justin Erenkrantz
--On Tuesday, September 7, 2004 1:00 PM -0400 Jim Jagielski <[EMAIL PROTECTED]> wrote: True, but this is one that I'm hitting a lot, especially with the increase in cache development going on... And this is the only bundled module that I've hit this on when httpd is build "normally". IMHO, the pr

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jeff Trawick
On Tue, 07 Sep 2004 10:41:44 -0700, Justin Erenkrantz <[EMAIL PROTECTED]> wrote: > --On Tuesday, September 7, 2004 1:00 PM -0400 Jim Jagielski > <[EMAIL PROTECTED]> wrote: > > > True, but this is one that I'm hitting a lot, especially > > with the increase in cache development going on... > > > >

Re: [PATCH] backport static module checking in mod_so to 1.3

2004-09-07 Thread Rasmus Lerdorf
On Tue, 7 Sep 2004, Geoffrey Young wrote: > the attached patch is a direct port of the logic from 2.0 to 1.3. thoughts > or insights on why this wouldn't be a good idea for 1.3 or other feedback > appreciated. Seems like a good idea to me. -Rasmus

Time for 1.3.32 ?

2004-09-07 Thread Jim Jagielski
I'd like to propose a 1.3.32 release with a T&R either late this week or early next. There's enough changes to warrant it I think. In the meantime, if people could test HEAD, that would be great! Especially those hit by the mod_dav/mod_frontpage problems that surfaced with 1.3.31.

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Justin Erenkrantz
--On Tuesday, September 7, 2004 2:06 PM -0400 Jeff Trawick <[EMAIL PROTECTED]> wrote: Won't gcc 3.2+ have dynamic reference to libgcc_s.so instead of static reference to libgcc.a? gcc 3.3 on Mac OS X and gcc 3.4.0 (stock) on Solaris both refer to libgcc.a. *shrug* gcc < 3 will have static referen

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jim Jagielski
> > It's better to try to figure this out than greatly obfuscate our code to > work around a bug in one compiler. So, I think our option is to try to > figure what gcc-magic we need to call to get this right or just ignore it. > It's worth it, IMO, to avoid redistribution dependencies on gcc

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Joe Orton
On Tue, Sep 07, 2004 at 01:00:40PM -0400, Jim Jagielski wrote: > True, but this is one that I'm hitting a lot, especially > with the increase in cache development going on... Then fix your build environment, or work out how the httpd build system can be improved to avoid the issue in general. Mun

Re: Time for 1.3.32 ?

2004-09-07 Thread André Malo
* Jim Jagielski <[EMAIL PROTECTED]> wrote: > I'd like to propose a 1.3.32 release with a T&R either late this > week or early next. Sounds good. Though I'd like to point to the 2.0 status file, where a bugfix (to 2.0 and 1.3) is waiting for approval :) nd -- "Solides und umfangreiches Buch"

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jeff Trawick
On Tue, 07 Sep 2004 11:14:46 -0700, Justin Erenkrantz <[EMAIL PROTECTED]> wrote: > --On Tuesday, September 7, 2004 2:06 PM -0400 Jeff Trawick > <[EMAIL PROTECTED]> wrote: > > > Won't gcc 3.2+ have dynamic reference to libgcc_s.so instead of static > > reference to libgcc.a? > > gcc 3.3 on Mac OS

compile solaris 2.8: improper member use: response_code_strings

2004-09-07 Thread solo turn
i get the following compile error with the sun forte compiler on solaris 2.8: /usr/local/httpd-2.0.50/srclib/apr/libtool --silent --mode=compile cc -g -mt-DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/httpd-2.0.50/srclib/apr/include -I/usr/local/httpd-2.0.50/srclib/apr-u

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jim Jagielski
On Sep 7, 2004, at 2:20 PM, Joe Orton wrote: On Tue, Sep 07, 2004 at 01:00:40PM -0400, Jim Jagielski wrote: True, but this is one that I'm hitting a lot, especially with the increase in cache development going on... Then fix your build environment, or work out how the httpd build system can be impr

Re: mod_cache 2 questions

2004-09-07 Thread Justin Erenkrantz
--On Tuesday, September 7, 2004 2:48 PM +1000 Ian Holsman <[EMAIL PROTECTED]> wrote: ok.. so I've started playing with mod-cache again, and I noticed the following: - there is no way to cache something with query-args which doesn't return a expires tag. proposal: add a CacheIgnoreNoExpires direct

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jeff Trawick
On Tue, 7 Sep 2004 14:50:50 -0400, Jim Jagielski <[EMAIL PROTECTED]> wrote: > > > > On Sep 7, 2004, at 2:20 PM, Joe Orton wrote: > > > On Tue, Sep 07, 2004 at 01:00:40PM -0400, Jim Jagielski wrote: > >> True, but this is one that I'm hitting a lot, especially > >> with the increase in cache dev

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jim Jagielski
it doesn't have to be mod_cache and it doesn't have to be built with apxs it just has to be built as a DSO with gcc, and it can reference libgcc.a symbols that weren't included in httpd and/or weren't exported by httpd True 'nuff... I was simply trying to indicate a quick and dirty way to recreate

Re: mod_cache 2 questions

2004-09-07 Thread Bill Stoddard
Justin Erenkrantz wrote: --On Tuesday, September 7, 2004 2:48 PM +1000 Ian Holsman <[EMAIL PROTECTED]> wrote: ok.. so I've started playing with mod-cache again, and I noticed the following: - there is no way to cache something with query-args which doesn't return a expires tag. proposal: add a Ca

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Jim Jagielski
Of course, assuming any dependencies do exist, doing a "full" build in an environment where "just"libgcc.a exists will cause the required functions to be statically linked in, so you avoid the external library (.so) dependency... Still need to build mod_cache though inline with httpd... By the by,

Re: mod_cache 2 questions

2004-09-07 Thread Roy T. Fielding
Just a thought... why does this restriction exist in the first place? Because, a long time ago, queries contained mostly user-defined strings that were not likely to result in a later hit, so it wasn't worth the effort. Now, some web applications use a bogus query string in order to override cachi

Re: [PATCH] Allow mod_cache to be build/loaded as DSO

2004-09-07 Thread Joe Orton
On Tue, Sep 07, 2004 at 02:50:50PM -0400, Jim Jagielski wrote: > Here's the scenario: > >1. Build httpd >2. Now build mod_cache as a DSO with apxs >3. Now try to load it in and run it > > You'll see that this results in a dependency on libgcc. > Do we *want* a dependency on libgcc? I

Re: compile solaris 2.8: improper member use: response_code_strings

2004-09-07 Thread Joe Orton
On Mon, Sep 06, 2004 at 08:57:31PM +0200, solo turn wrote: > i get the following compile error with the sun forte compiler on solaris 2.8: > > /usr/local/httpd-2.0.50/srclib/apr/libtool --silent --mode=compile cc > -g -mt-DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT > -I/usr/local/h

Re: compile solaris 2.8: improper member use: response_code_strings

2004-09-07 Thread brian richardson
anyone know how in the hell i can get off these mailing lists?  they are ruining my lifesolo turn <[EMAIL PROTECTED]> wrote: i get the following compile error with the sun forte compiler on solaris 2.8:/usr/local/httpd-2.0.50/srclib/apr/libtool --silent --mode=compile cc -g -mt -DSOLARIS2=8 -D_POSI

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-07 Thread Jeff Trawick
On Fri, 3 Sep 2004 12:30:34 -0400, Jeff Trawick <[EMAIL PROTECTED]> wrote: > > > On Fri, 03 Sep 2004 09:23:27 -0700, Justin Erenkrantz > <[EMAIL PROTECTED]> wrote: > > --On Friday, September 3, 2004 12:14 PM -0400 Jeff Trawick <[EMAIL PROTECTED]> > > wrote: > > > > > > > > > I'm using head, with

Re: Time for 1.3.32 ?

2004-09-07 Thread Rasmus Lerdorf
On Tue, 7 Sep 2004, [ISO-8859-15] André Malo wrote: > * Jim Jagielski <[EMAIL PROTECTED]> wrote: > > > I'd like to propose a 1.3.32 release with a T&R either late this > > week or early next. > > Sounds good. > Though I'd like to point to the 2.0 status file, where a bugfix (to 2.0 > and 1.3) is wa

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-07 Thread Mladen Turk
Jeff Trawick wrote: [Fri Sep 03 12:05:59 2004] [error] [client 127.0.0.1] File does not exist: proxy:http://127.0.0.1:10101/cgi-bin/printenv If nobody can/has reproduced the problem, I'll dig into it this weekend. I had time dig into it enough to get the feeling that it is something that the balanc