httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 55646] New: non-2xx responses are not considered errors
Date Thu, 10 Oct 2013 10:02:57 GMT

            Bug ID: 55646
           Summary: non-2xx responses are not considered errors
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: support

$ ab -X localhost:3128 -n 10 -c 3
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd,
Licensed to The Apache Software Foundation,

Benchmarking [through localhost:3128] (be

Server Software:        squid/3.1.19
Server Hostname:
Server Port:            80

Document Path:          /
Document Length:        3140 bytes

Concurrency Level:      3
Time taken for tests:   0.165 seconds
Complete requests:      10
Failed requests:        2
   (Connect: 0, Receive: 0, Length: 2, Exceptions: 0)
Write errors:           0
Non-2xx responses:      8
Total transferred:      34998 bytes
HTML transferred:       31566 bytes
Requests per second:    60.66 [#/sec] (mean)
Time per request:       49.458 [ms] (mean)
Time per request:       16.486 [ms] (mean, across all concurrent requests)
Transfer rate:          207.31 [Kbytes/sec] received

The "non-2xx responses" in this case are 403 errors from the proxy. I'm very
surprised that these aren't considered "Failed requests", while a 200 OK
response with a different length is considered "failed". Other people are
surprised by this too:


Please would you consider changing this, so that non-2xx responses are errors
but different length responses are not? (or at least optionally so.)

I know that issue #42040 and friends are about adding a flag which makes
different length responses be not considered as errors; I think this should be
on by default, and the option should be to turn it off and require all
responses to be the same length. Thanks!

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message