Justin Erenkrantz wrote:
--On Monday, March 1, 2004 11:20 PM -0800 Stas Bekman <[EMAIL PROTECTED]> wrote:

I've stepped through with gdb, ap_finalize_request_protocol is called and
EOS is sent, but it gets lost and doesn't reach the connection output filter.


That'd mean that a filter isn't passing it on as it should be. So, what filter loses it? Is it one of ours? Or, is it a custom one?

As always, more details would be appreciated. -- justin

I'm just installing a passive snooper filter (one snooping on incoming connection and one on the outgoing) that passes the data through as is and dumps bbs contents and bucket types to error log. So it must be some of the core filters I believe. Here are the traces:


HEAD "/index.html"

----------------------------
<<< connection input filter
    o bucket 1: HEAP
[HEAD /index.html HTTP/1.0
]

<<< connection input filter
    o bucket 1: HEAP
[Host: localhost.localdomain:8529
]

<<< connection input filter
    o bucket 1: HEAP
[User-Agent: libwww-perl/5.76
]

<<< connection input filter
    o bucket 1: HEAP
[
]

>>> connection output filter
o bucket 1: HEAP
[HTTP/1.1 200 OK
Date: Tue, 02 Mar 2004 18:22:46 GMT
Server: Apache/2.0.49-dev (Unix) mod_perl/1.99_13-dev Perl/v5.8.3 mod_ssl/2.0.49-dev OpenSSL/0.9.7b DAV/2
Last-Modified: Thu, 07 Aug 2003 19:13:15 GMT
ETag: "23cb9-2d0-830a88c0"
Accept-Ranges: bytes
Content-Length: 720
Connection: close
Content-Type: text/html


]

>>> connection output filter
    o bucket 1: FLUSH
[]

>>> connection output filter
    o bucket 1: FLUSH
[]
----------------------------

No EOS as you can see

Now issue GET "/index.html"
----------------------------
<<< connection input filter
    o bucket 1: HEAP
[GET /index.html HTTP/1.0
]

<<< connection input filter
    o bucket 1: HEAP
[Host: localhost.localdomain:8529
]

<<< connection input filter
    o bucket 1: HEAP
[User-Agent: libwww-perl/5.76
]

<<< connection input filter
    o bucket 1: HEAP
[
]

>>> connection output filter
o bucket 1: HEAP
[HTTP/1.1 200 OK
Date: Tue, 02 Mar 2004 18:22:45 GMT
Server: Apache/2.0.49-dev (Unix) mod_perl/1.99_13-dev Perl/v5.8.3 mod_ssl/2.0.49-dev OpenSSL/0.9.7b DAV/2
Last-Modified: Thu, 07 Aug 2003 19:13:15 GMT
ETag: "23cb9-2d0-830a88c0"
Accept-Ranges: bytes
Content-Length: 720
Connection: close
Content-Type: text/html


]

>>> connection output filter
    o bucket 1: MMAP
[<!-- WARNING: this file is generated, do not edit
01: /home/stas/apache.org/modperl-2.0/Apache-Test/lib/Apache/TestConfig.pm:739
02: /home/stas/apache.org/modperl-2.0/Apache-Test/lib/Apache/TestConfig.pm:756
03: /home/stas/apache.org/modperl-2.0/Apache-Test/lib/Apache/TestConfig.pm:1030
04: /home/stas/apache.org/modperl-2.0/Apache-Test/lib/Apache/TestConfig.pm:1233
05: /home/stas/apache.org/modperl-2.0/Apache-Test/lib/Apache/TestRun.pm:408
06: /home/stas/apache.org/modperl-2.0/Apache-Test/lib/Apache/TestRunPerl.pm:41
07: /home/stas/apache.org/modperl-2.0/Apache-Test/lib/Apache/TestRun.pm:589
08: /home/stas/apache.org/modperl-2.0/Apache-Test/lib/Apache/TestRun.pm:589
09: t/TEST:21
 -->
welcome to localhost:8529
]
    o bucket 2: EOS
[]

>>> connection output filter
    o bucket 1: FLUSH
[]

>>> connection output filter
    o bucket 1: FLUSH
[]
----------------------------

EOS is there.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to