aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-08-05 14:48:53 +0200
committerAnders Svensson <[email protected]>2014-08-05 16:33:41 +0200
commit50356d68b321f959fda4b2bf5c77453cd1fb6890 (patch)
tree6599198ffeff516f35cf9b653abbd961235923f5 /lib/diameter/src/base
parente2d4c35bb9ac11b5039514276f73dce4d2332100 (diff)
downloadotp-50356d68b321f959fda4b2bf5c77453cd1fb6890.tar.gz
otp-50356d68b321f959fda4b2bf5c77453cd1fb6890.tar.bz2
otp-50356d68b321f959fda4b2bf5c77453cd1fb6890.zip
Count request retransmissions
As mentioned in the parent commit. The {Id, send, retransmission} key is of the same form as the {Id, send|recv, error} key used for encode/decode errors.
Diffstat (limited to 'lib/diameter/src/base')
-rw-r--r--lib/diameter/src/base/diameter_traffic.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl
index 937d08dc4f..33062e928c 100644
--- a/lib/diameter/src/base/diameter_traffic.erl
+++ b/lib/diameter/src/base/diameter_traffic.erl
@@ -1684,6 +1684,7 @@ resend_request(Pkt0,
caps = Caps},
?LOG(retransmission, Pkt#diameter_packet.header),
+ incr(TPid, {msg_id(Pkt, Dict), send, retransmission}),
TRef = send_request(TPid, Pkt, Req, SvcName, Tmo),
{TRef, Req}.