Bug 1941494 - Remove Http3Session:: mLastReadTime, r=necko-reviewers,valentin

Differential Revision: https://phabricator.services.mozilla.com/D234144
This commit is contained in:
Kershaw Chang
2025-01-14 09:44:23 +00:00
parent a84e628a1e
commit a038429b41
2 changed files with 0 additions and 7 deletions

View File

@@ -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;

View File

@@ -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