DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11353>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11353

mod_ext_filter fails to set environment

           Summary: mod_ext_filter fails to set environment
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_ext_filter
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Hello,

I am attempting to use mod_ext_filter to conditionally send some data compressed
to clients (sorta a clone of mod_gunzip, but to work with apache2).  To do that,
I need to pass environment along.  The documentation for mod_ext_filter states
that the standard CGI variables plus a few extras are sent.  This is not the
case.  NOTHING is sent.  See this code snippet from line 407:

    rc = apr_proc_create(ctx->proc,
                            ctx->filter->command, 
                            (const char * const *)ctx->filter->args, 
                            NULL, /* environment */
                            ctx->procattr,
                            ctx->p);

As you can see, the environment is not being passed at all.  Hopefully this will
be a trivial fix, as this feature is vital for my purposes.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to