You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2018/03/21 17:13:22 UTC
[trafficserver] branch master updated: Adds the new header,
and some FreeBSD info
This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 00d6b5f Adds the new header, and some FreeBSD info
00d6b5f is described below
commit 00d6b5f3db4716a8c0abd7d988c91c8df5b5f301
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Wed Mar 14 15:00:58 2018 -0600
Adds the new header, and some FreeBSD info
---
plugins/tcpinfo/tcpinfo.cc | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/plugins/tcpinfo/tcpinfo.cc b/plugins/tcpinfo/tcpinfo.cc
index 293d53d..8bb8b44 100644
--- a/plugins/tcpinfo/tcpinfo.cc
+++ b/plugins/tcpinfo/tcpinfo.cc
@@ -57,7 +57,7 @@
// the verbosity without breaking a perser that is moderately robust.
static const char *tcpi_headers[] = {
"timestamp event client server rtt", "timestamp event client server rtt rttvar last_sent last_recv "
- "snd_ssthresh rcv_ssthresh unacked sacked lost retrans fackets",
+ "snd_ssthresh rcv_ssthresh unacked sacked lost retrans fackets all_retrans",
};
struct Config {
@@ -142,10 +142,11 @@ log_tcp_info(Config *config, const char *event_name, TSHttpSsn ssnp)
info.tcpi_snd_cwnd, info.tcpi_snd_ssthresh, info.tcpi_rcv_ssthresh, info.tcpi_unacked,
info.tcpi_sacked, info.tcpi_lost, info.tcpi_retrans, info.tcpi_fackets, info.tcpi_total_retrans);
#else
- ret = TSTextLogObjectWrite(config->log, "%s %s %s %u %u %u %u %u %u %u %u %u %u %u %u", event_name, client_str, server_str,
+ ret = TSTextLogObjectWrite(config->log, "%s %s %s %u %u %u %u %u %u %u %u %u %u %u %u %u", event_name, client_str, server_str,
info.tcpi_rtt, info.tcpi_rttvar, info.__tcpi_last_data_sent, info.tcpi_last_data_recv,
info.tcpi_snd_cwnd, info.tcpi_snd_ssthresh, info.__tcpi_rcv_ssthresh, info.__tcpi_unacked,
- info.__tcpi_sacked, info.__tcpi_lost, info.__tcpi_retrans, info.__tcpi_fackets);
+ info.__tcpi_sacked, info.__tcpi_lost, info.__tcpi_retrans, info.__tcpi_fackets,
+ info.tcpi_snd_rexmitpack);
#endif
} else {
ret = TSTextLogObjectWrite(config->log, "%s %s %s %u", event_name, client_str, server_str, info.tcpi_rtt);
--
To stop receiving notification emails like this one, please contact
bcall@apache.org.