You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/08/01 03:05:48 UTC
DO NOT REPLY [Bug 11353] New: -
mod_ext_filter fails to set environment
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: bugs@httpd.apache.org
ReportedBy: jgoerzen@complete.org
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org