https://issues.apache.org/bugzilla/show_bug.cgi?id=17629

--- Comment #32 from Paul Nasrat <[email protected]> 2010-04-26 01:58:47 
EDT ---
(In reply to comment #31)
> Created an attachment (id=25350)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25350) [details]
> Prevent filter_init in mod_filter from destroying it's own harness context
> 
> This should resolve the issue.  This patch was tested with 2.2.14.

I tested with the reproducer I found as described here using a virtual ssi and
mod_deflate/mod_filter with your patch - see users archive for full details:

http://mail-archives.apache.org/mod_mbox/httpd-users/200803.mbox/%[email protected]%3e

Built using 2.2.15 with your patch this still produces incorrect input

* About to connect() to localhost port 8081 (#0)
*   Trying ::1... connected
* Connected to localhost (::1) port 8081 (#0)
> GET /test.shtml HTTP/1.1
> User-Agent: curl/7.16.4 (i386-apple-darwin9.0) libcurl/7.16.4 OpenSSL/0.9.7l 
> zlib/1.2.3
> Host: localhost:8081
> Accept: */*
> Accept-Encoding: gzip
> 
< HTTP/1.1 200 OK
< Date: Mon, 26 Apr 2010 05:57:07 GMT
< Server: Apache/2.2.15 (Unix)
< Accept-Ranges: bytes
< Vary: Accept-Encoding
< Content-Encoding: gzip
< Transfer-Encoding: chunked
< Content-Type: text/html
< 
{ [data not shown]
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0    49    0    49    0     0   8305      0 --:--:-- --:--:-- --:--:--     0*
Connection #0 to host localhost left intact

* Closing connection #0
paul-nasrats-macbook:httpd-2.2.15 pnasrat$ hexdump -C ~/test 
00000000  3c 68 31 3e 49 6e 63 6c  75 64 65 64 3c 2f 68 31  |<h1>Included</h1|
00000010  3e 0a 1f 8b 08 00 00 00  00 00 00 03 0b 0e 71 0c  |>.............q.|
00000020  0a e1 e2 72 f5 73 e1 02  00 bd 52 71 7a 0b 00 00  |.??r?s?..?Rqz...|
00000030  00                                                |.|
00000031

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to