git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62568] New: ERR_INVALID_HTTP_RESPONSE as of 2.4.34 when listing directories


https://bz.apache.org/bugzilla/show_bug.cgi?id=62568

            Bug ID: 62568
           Summary: ERR_INVALID_HTTP_RESPONSE as of 2.4.34 when listing
                    directories
           Product: Apache httpd-2
           Version: 2.4.34
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ratelimit
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: snakedoctr@xxxxxxxxx
  Target Milestone: ---

After upgrading to v2.4.34 from v2.4.33, I'm encountering an
"ERR_INVALID_HTTP_RESPONSE" via Chrome 68 as well as "Cancelled load from
'http://127.0.0.1/test/' because it is using HTTP/0.9.”" in Safari v11.1.2.

My (simple) mod_ratelimit config looks like:

SetOutputFilter RATE_LIMIT
SetEnv rate-limit 450

I only encounter this error when there are more than 61 files in the directory
listing.  If i disable the SetEnv line, it works fine (since mod_ratelimit
isn't actually doing anything).

To recreate the problem:
- Install v2.4.34
- Add the config listed above
- Run the following command from a browseable web directory (/test in my case):
    for NUM in `seq 1 62`; do touch $NUM; done
- Browse to the directory in a browser.  You should receive the error.

If you remove all the files in the directory and refresh the page it will work
fine.  If you touch 61 files instead of 62 it will work fine.  But if you
create >62 files it will throw the error.

tcpdump shows the file listing going through to the client, but the client
chokes for some reason.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-bugs/msg03054.html on line 120
Call Stack
#TimeMemoryFunctionLocation
10.0006364536{main}( ).../msg03054.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-bugs/msg03054.html on line 120
Call Stack
#TimeMemoryFunctionLocation
10.0006364536{main}( ).../msg03054.html:0