GitOrigin-RevId: 405ad3210132702fffecdc091066321bc1ccc10c
@@ -62,6 +62,11 @@ function getFile(req, res, next) {
return
}
+ if (res.destroyed) {
+ fileStream.destroy()
+ return
+ }
+
if (req.query.cacheWarm) {
fileStream.destroy()
return res.sendStatus(200).end()