diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-11 07:13:53 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-11 07:13:53 +0100 |
commit | d394b70aa4d437233953c8e070318149276b1c7e (patch) | |
tree | 7287fa2c1bba3baa4000de994addb5d905a74326 /netwerk/protocol/http/nsHttpTransaction.cpp | |
parent | 37ea3b7b873afb0f2169b1e79c90902dc26f7d2f (diff) | |
download | UXP-d394b70aa4d437233953c8e070318149276b1c7e.tar UXP-d394b70aa4d437233953c8e070318149276b1c7e.tar.gz UXP-d394b70aa4d437233953c8e070318149276b1c7e.tar.lz UXP-d394b70aa4d437233953c8e070318149276b1c7e.tar.xz UXP-d394b70aa4d437233953c8e070318149276b1c7e.zip |
Bug 1343600 - Add TLS handshake Start/Stop events
Diffstat (limited to 'netwerk/protocol/http/nsHttpTransaction.cpp')
-rw-r--r-- | netwerk/protocol/http/nsHttpTransaction.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/netwerk/protocol/http/nsHttpTransaction.cpp b/netwerk/protocol/http/nsHttpTransaction.cpp index 7c0c7f87d..16e8beee2 100644 --- a/netwerk/protocol/http/nsHttpTransaction.cpp +++ b/netwerk/protocol/http/nsHttpTransaction.cpp @@ -619,7 +619,9 @@ nsHttpTransaction::OnTransportStatus(nsITransport* transport, } else if (status == NS_NET_STATUS_CONNECTING_TO) { SetConnectStart(TimeStamp::Now()); } else if (status == NS_NET_STATUS_CONNECTED_TO) { - SetConnectEnd(TimeStamp::Now()); + SetConnectEnd(TimeStamp::Now(), true); + } else if (status == NS_NET_STATUS_TLS_HANDSHAKE_ENDED) { + SetConnectEnd(TimeStamp::Now(), false); } } |