Bug 1941494 - Remove Http3Session:: mLastReadTime, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D234144
This commit is contained in:
@@ -403,12 +403,6 @@ nsresult Http3Session::ProcessInput(nsIUDPSocket* socket) {
|
|||||||
LOG(("Http3Session::ProcessInput writer=%p [this=%p state=%d]",
|
LOG(("Http3Session::ProcessInput writer=%p [this=%p state=%d]",
|
||||||
mUdpConn.get(), this, mState));
|
mUdpConn.get(), this, mState));
|
||||||
|
|
||||||
PRIntervalTime now = PR_IntervalNow();
|
|
||||||
if (!mLastReadTime) {
|
|
||||||
mLastReadTime = now;
|
|
||||||
} else {
|
|
||||||
mLastReadTime = now;
|
|
||||||
}
|
|
||||||
if (mUseNSPRForIO) {
|
if (mUseNSPRForIO) {
|
||||||
while (true) {
|
while (true) {
|
||||||
nsTArray<uint8_t> data;
|
nsTArray<uint8_t> data;
|
||||||
|
|||||||
@@ -349,7 +349,6 @@ class Http3Session final : public nsAHttpTransaction, public nsAHttpConnection {
|
|||||||
int64_t mTotalBytesRead = 0; // total data read
|
int64_t mTotalBytesRead = 0; // total data read
|
||||||
int64_t mTotalBytesWritten = 0; // total data read
|
int64_t mTotalBytesWritten = 0; // total data read
|
||||||
PRIntervalTime mLastWriteTime = 0;
|
PRIntervalTime mLastWriteTime = 0;
|
||||||
PRIntervalTime mLastReadTime = 0;
|
|
||||||
nsCString mServer;
|
nsCString mServer;
|
||||||
|
|
||||||
// Records whether we sent an ECH Extension and whether it was a GREASE Xtn
|
// Records whether we sent an ECH Extension and whether it was a GREASE Xtn
|
||||||
|
|||||||
Reference in New Issue
Block a user