diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-11 07:51:19 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-11 07:51:19 +0100 |
commit | ba84f2b4cb33e553c2d5c896a59cb093ed5ef68e (patch) | |
tree | 27d5a72eba88180bf4523ba76b4d76abebaaa44b /netwerk | |
parent | 5a44be53756c117b5d2192b5b58532409ef90c26 (diff) | |
download | uxp-ba84f2b4cb33e553c2d5c896a59cb093ed5ef68e.tar.gz |
Bug 1344890 - h2 tls 1.3 early data problem with https://echo.filippo.io/foo
Diffstat (limited to 'netwerk')
-rw-r--r-- | netwerk/protocol/http/nsHttpTransaction.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/netwerk/protocol/http/nsHttpTransaction.cpp b/netwerk/protocol/http/nsHttpTransaction.cpp index aad82e1644..c70c37308c 100644 --- a/netwerk/protocol/http/nsHttpTransaction.cpp +++ b/netwerk/protocol/http/nsHttpTransaction.cpp @@ -2491,6 +2491,7 @@ nsHttpTransaction::Do0RTT() nsresult nsHttpTransaction::Finish0RTT(bool aRestart, bool aAlpnChanged /* ignored */) { + LOG(("nsHttpTransaction::Finish0RTT %p %d %d\n", this, aRestart, aAlpnChanged)); MOZ_ASSERT(m0RTTInProgress); m0RTTInProgress = false; if (aRestart) { @@ -2502,6 +2503,10 @@ nsHttpTransaction::Finish0RTT(bool aRestart, bool aAlpnChanged /* ignored */) } else { return NS_ERROR_FAILURE; } + } else if (!mConnected) { + // this is code that was skipped in ::ReadSegments while in 0RTT + mConnected = true; + mConnection->GetSecurityInfo(getter_AddRefs(mSecurityInfo)); } return NS_OK; } |