browser(firefox): do not leak reponses (#4453)

This commit is contained in:
Yury Semikhatsky 2020-11-16 13:16:20 -08:00 committed by GitHub
parent bd76e9ddbf
commit 39fcf1bc54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
1209
Changed: joel.einbinder@gmail.com Mon 16 Nov 2020 10:52:59 AM PST
1210
Changed: yurys@chromium.org Mon 16 Nov 2020 01:10:41 PM PST

View File

@ -800,7 +800,7 @@ class ResponseStorage {
addResponseBody(request, body) {
if (body.length > this._maxResponseSize) {
this._responses.set(requestId, {
this._responses.set(request.requestId, {
evicted: true,
body: '',
});