Commit 89050e7a authored by Kershaw Chang's avatar Kershaw Chang
Browse files

Bug 1738664 - Add peerId to nsITransportSecurityInfo, r=necko-reviewers,dragana

parent f21d1c79
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -417,6 +417,9 @@ HttpTransactionChild::OnStartRequest(nsIRequest* aRequest) {
        !protocol.IsEmpty()) {
      mProtocolVersion.Assign(protocol);
    }
    // Make sure peerId is generated.
    nsAutoCString unused;
    info->GetPeerId(unused);
    nsCOMPtr<nsISerializable> secInfoSer = do_QueryInterface(secInfoSupp);
    if (secInfoSer) {
      NS_SerializeToString(secInfoSer, serializedSecurityInfoOut);
+0 −1
Original line number Diff line number Diff line
@@ -58,7 +58,6 @@ class QuicSocketControl final : public CommonSocketControl {
  nsWeakPtr mHttp3Session;
  nsCOMPtr<nsIEventTarget> mSocketThread;

  nsCString mPeerId;
  nsCString mEchConfig;
  nsCString mRetryEchConfig;
};
+0 −5
Original line number Diff line number Diff line
@@ -158,11 +158,6 @@ interface nsISSLSocketControl : nsISupports {
     */
    attribute ACString echConfig;

    /**
     * The id used to uniquely identify the connection to the peer.
     */
    readonly attribute ACString peerId;

    /**
     * The echConfig that should be used to retry for the connection setup.
     */
+5 −0
Original line number Diff line number Diff line
@@ -111,4 +111,9 @@ interface nsITransportSecurityInfo : nsISupports {
     * True iff the succeededCertChain is built in root.
     */
    attribute boolean isBuiltCertChainRootBuiltInRoot;

    /**
     * The id used to uniquely identify the connection to the peer.
     */
    readonly attribute ACString peerId;
};
+0 −5
Original line number Diff line number Diff line
@@ -346,11 +346,6 @@ CommonSocketControl::SetEchConfig(const nsACString& aEchConfig) {
  return NS_ERROR_NOT_IMPLEMENTED;
}

NS_IMETHODIMP
CommonSocketControl::GetPeerId(nsACString& aResult) {
  return NS_ERROR_NOT_IMPLEMENTED;
}

NS_IMETHODIMP
CommonSocketControl::GetRetryEchConfig(nsACString& aEchConfig) {
  return NS_ERROR_NOT_IMPLEMENTED;
Loading