mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 848360 - telemetry for ssl ratios of http transactions and page loads r=jduell
This commit is contained in:
parent
f7506474e5
commit
1f8686901d
@ -1163,6 +1163,15 @@ nsHttpChannel::ProcessResponse()
|
||||
nsresult rv;
|
||||
uint32_t httpStatus = mResponseHead->Status();
|
||||
|
||||
// Gather data on whether the transaction and page (if this is
|
||||
// the initial page load) is being loaded with SSL.
|
||||
Telemetry::Accumulate(Telemetry::HTTP_TRANSACTION_IS_SSL,
|
||||
mConnectionInfo->UsingSSL());
|
||||
if (mLoadFlags & LOAD_INITIAL_DOCUMENT_URI) {
|
||||
Telemetry::Accumulate(Telemetry::HTTP_PAGELOAD_IS_SSL,
|
||||
mConnectionInfo->UsingSSL());
|
||||
}
|
||||
|
||||
LOG(("nsHttpChannel::ProcessResponse [this=%p httpStatus=%u]\n",
|
||||
this, httpStatus));
|
||||
|
||||
|
@ -815,6 +815,14 @@
|
||||
"n_values": 8,
|
||||
"description": "HTTP Proxy Type (none, http, socks)"
|
||||
},
|
||||
"HTTP_TRANSACTION_IS_SSL": {
|
||||
"kind": "boolean",
|
||||
"description": "Whether a HTTP transaction was over SSL or not."
|
||||
},
|
||||
"HTTP_PAGELOAD_IS_SSL": {
|
||||
"kind": "boolean",
|
||||
"description": "Whether a HTTP base page load was over SSL or not."
|
||||
},
|
||||
"SSL_HANDSHAKE_VERSION": {
|
||||
"kind": "enumerated",
|
||||
"n_values": 16,
|
||||
|
Loading…
Reference in New Issue
Block a user