summary: calling $r->bytes_sent() yields different results for HTTP 1.1 requests than for HTTP 1.0 requests when server is HTTP 1.1 able and has chunking enabled. This is due to $r->bytes_sent() counting the bytes used to send the chunk length + the linefeed chars (\r\n).
observed on: Apache 1.3.26 w/mod_perl 1.27 using both Mozilla on Linux and IE 6 on Windows XP as clients question & comment: question: as http chunking info lives in the nether regions between headers and non header content, is the bytes_sent() value being computed as authors intended it to computed? comment: it was confusing for debugging purposes to find out where an additional five bytes were being counted. I had to use tcpdump to figure ut the cause. This is a request to either document the feature (of counting the chunking data bytes) or alter the behavior. Thanks, Steve Doliov --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
