Skip to content
Myr

Fix regression where "Request aborted" is logged using res.sendFile

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #2571

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent 1e6d265 · Browse files · 2 files+6 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−1 removed

  • other:+6 added−1 removed

2 files+6 added−1 removed

modified:lib/response.js+1 added-1 removed
402 unmodified lines
403 if (fn) return fn(err);404 if (err && err.code === 'EISDIR') return next();405406 // next() all but write errors407 if (err && err.code !== 'ECONNABORT' && err.syscall !== 'write') {407 if (err && err.code !== 'ECONNABORTED' && err.syscall !== 'write') {408 next(err);409 }410 });411};
619 unmodified lines
modified:History.md+5 added
1unreleased2==========34 * Fix regression where `"Request aborted"` is logged using `res.sendFile`564.12.1 / 2015-03-017===================89 * Fix constructing application with non-configurable prototype properties
2708 unmodified lines