diff options
Diffstat (limited to 'netwerk/protocol/http/ConnectionEntry.h')
-rw-r--r-- | netwerk/protocol/http/ConnectionEntry.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/netwerk/protocol/http/ConnectionEntry.h b/netwerk/protocol/http/ConnectionEntry.h index 811c5481de..8ccc126503 100644 --- a/netwerk/protocol/http/ConnectionEntry.h +++ b/netwerk/protocol/http/ConnectionEntry.h @@ -200,6 +200,10 @@ class ConnectionEntry { bool AllowToRetryDifferentIPFamilyForHttp3(nsresult aError); void SetRetryDifferentIPFamilyForHttp3(uint16_t aIPFamily); + void SetServerCertHashes(nsTArray<RefPtr<nsIWebTransportHash>>&& aHashes); + + const nsTArray<RefPtr<nsIWebTransportHash>>& GetServerCertHashes(); + private: void InsertIntoIdleConnections_internal(nsHttpConnection* conn); void RemoveFromIdleConnectionsIndex(size_t inx); @@ -219,6 +223,9 @@ class ConnectionEntry { nsTArray<RefPtr<DnsAndConnectSocket>> mDnsAndConnectSockets; // dns resolution and half open connections + // If serverCertificateHashes are used, these are stored here + nsTArray<RefPtr<nsIWebTransportHash>> mServerCertHashes; + PendingTransactionQueue mPendingQ; ~ConnectionEntry(); |