>Number: 5262 >Category: general >Synopsis: `ab 'generates Content-Length error when returned html pages >have different sizes >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Nov 5 10:10:02 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.9 >Environment: Linux pc31 2.2.5 #3 Fri Apr 2 17:04:34 MEST 1999 i686 unknown >Description: When testing with dynamically created html pages, it seems that `ab' only measures the size of the document after the first time it receives the page: if (good == 1) { doclen = c->bread; }
The `Content-length' header seems to be ignored, so that the different sizes will contribute to the `failed request' statistics; e.g.: Failed requests: 26 (Connect: 0, Length: 26, Exceptions: 0) - even if the server is working perfectly well. >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]