httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Houser, Rick" <Houser.R...@aoins.com>
Subject RE: number of bytes/packets sent/received
Date Thu, 09 Oct 2008 13:34:02 GMT
Disclaimer: I'm fairly new to Apache internals.

Unless Apache has some really strange hooks into TCP, I don't think
packet counting should be possible.  TCP is a transport layer protocol,
and is thus up to the OS.  For example, depending on the physical
network connection in use and any tunnels, etc., the MTU size can vary,
which will change your packet counts for the same Apache output, etc.
There are specialized tools like tcpdump that can capture that
information, but I think you will be limited to the contents of the TCP
stream in any Apache module.


Rick Houser
Auto-Owners Insurance
Systems Support
(517)703-2580

-----Original Message-----
From: Andrej van der Zee [mailto:andrejvanderzee@gmail.com] 
Sent: Thursday, October 09, 2008 8:41 AM
To: modules-dev@httpd.apache.org
Subject: number of bytes/packets sent/received

Hi,

I was wondering what would be the right way to get the number of bytes /
packets that are sent / received in an Apache module for httpd-2.1 and
higher (including the HTTP headers).

Cheers,
Andrej



Mime
View raw message