I have a couple of Apache modules that are content handlers, running
under Apache 1.3.20 on Solaris 2.8 (sun4u sparc SUNW,UltraAX-i2). The
modules are dynamically loaded.
However, installing the 10x patch breaks the modules. This is the
sysmptom: in the handler,
static int foobar_handler(request_rec *r)
{
const char* uri;
const char* args;
...
uri = r->unparsed_uri;
args = r->args;
...
}
I get a NULL pointer for r->unparsed_uri, and an empty string for
r->args. The unpatched 1.3.20 works fine. What was it that broke this?
I have a suggestion: break up the patch into smaller pieces. In my case,
for instance, I'd like to use QUICK_LOG and the stat cache; but I'm not
serving any static content, so QSC is of no interest to me. And I'm not
on Irix, so Direct I/O is similarly superfluous. There seems to be no
reason these can't all be different patches, they seem quite orthogonal.
(Some of the things I've tried, in desperation: turning off all the
extra features; as well as editing the patch file by hand - very
tedious! - to not include the QSC and Direct I/O bits. So far no luck.)
-s
|