Greg Ames <[EMAIL PROTECTED]> writes:
> I noticed something weird on daedalus on the test build. It looks like we're
> not autoindexing directories with HEADER.html or README.html files correctly.
> You see the contents of HEADER.html and/or README.html, but not the other files
> or subdirs in the directory. Often, the Mozilla animation keeps going as if the
> browser thinks more info is coming.
FYI... ripping out INCLUDES doesn't seem to make a difference
(simplification of the problem :) ).
Here's a backtrace while processing /dist/httpd/. Where is the
subrequest filter? Why have we made it past
ap_content_length_filter()? One result is that the content length is
busted. I think the EOS for the subrequest isn't getting eaten and is
fouling up things too.
(or maybe I forgot *everything* about how filters work :) )
(gdb) where
#0 core_output_filter (f=0x812b3d8, b=0x812b5d8) at core.c:3579
#1 0x8070be9 in ap_pass_brigade (next=0x812b3d8, bb=0x81406d0) at util_filter.c:534
#2 0x8060d3e in ap_http_header_filter (f=0x8133808, b=0x81406d0) at
http_protocol.c:1472
#3 0x8070be9 in ap_pass_brigade (next=0x8133808, bb=0x81406d0) at util_filter.c:534
#4 0x80731b3 in ap_content_length_filter (f=0x81337f0, b=0x81406d0) at protocol.c:1263
#5 0x8070be9 in ap_pass_brigade (next=0x81337f0, bb=0x81406d0) at util_filter.c:534
#6 0x8062e25 in ap_byterange_filter (f=0x81337d8, bb=0x81406d0) at
http_protocol.c:2758
#7 0x8070be9 in ap_pass_brigade (next=0x81337d8, bb=0x81406d0) at util_filter.c:534
#8 0x8077eda in default_handler (r=0x8141048) at core.c:3247
#9 0x8065e37 in ap_run_handler (r=0x8141048) at config.c:193
#10 0x80663d7 in ap_invoke_handler (r=0x8141048) at config.c:373
#11 0x807be70 in ap_run_sub_req (r=0x8141048) at request.c:1867
#12 0x281ebca0 in emit_head (r=0x8133048, header_fname=0x80e4b28 "HEADER",
suppress_amble=0,
title=0x813eb08 "/dist/httpd") at mod_autoindex.c:1032
#13 0x281edcc4 in index_directory (r=0x8133048, autoindex_conf=0x813d4c0) at
mod_autoindex.c:2014
#14 0x281ee006 in handle_autoindex (r=0x8133048) at mod_autoindex.c:2113
#15 0x8065e37 in ap_run_handler (r=0x8133048) at config.c:193
#16 0x80663d7 in ap_invoke_handler (r=0x8133048) at config.c:373
#17 0x80633f3 in ap_process_request (r=0x8133048) at http_request.c:261
#18 0x805e9db in ap_process_http_connection (c=0x812b120) at http_core.c:291
#19 0x806ec3b in ap_run_process_connection (c=0x812b120) at connection.c:85
#20 0x806ef50 in ap_process_connection (c=0x812b120, csd=0x812b048) at connection.c:207
#21 0x8064854 in child_main (child_num_arg=0) at prefork.c:671
#22 0x80649be in make_child (s=0x809dd60, slot=0) at prefork.c:765
#23 0x8064a2b in startup_children (number_to_start=1) at prefork.c:783
#24 0x8064d9a in ap_mpm_run (_pconf=0x809c010, plog=0x80c6010, s=0x809dd60) at
prefork.c:998
#25 0x806a825 in main (argc=3, argv=0xbfbffbac) at main.c:618
--
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...