https://issues.apache.org/bugzilla/show_bug.cgi?id=48842

           Summary: mod_log_config logs the full size of the file instead
                    of how many bytes were transferred.
           Product: Apache httpd-2
           Version: 2.2.14
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_log_config
        AssignedTo: [email protected]
        ReportedBy: [email protected]


In Apache 2.0, the %b format parameter for mod_log_config only logged how many
bytes were transferred for a given HTTP session. In Apache 2.2, it appears to
log the full size of the requested file whether or not the full file was
transferred. (For a continued file, e.g. wget --continue, it always shows the
number of bytes remaining in the transfer.)

Example: Suppose file.bin is 10 MB.

wget http://example.com/file.bin, Ctrl-C at 2 MB - the HTTP log always shows 10
MB transferred.
wget --continue http://example.com/file.bin, Ctrl-C at 4 MB - the HTTP log
always shows 8 MB transferred.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to