Skip to content
Myr

Correctly invoke async router callback asynchronously

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

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent 881e1ba · Browse files · 2 files+3 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+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:lib/router/index.js+2 added-1 removed
181 unmodified lines
182 removed = '';183 }184185 if (!layer) {186 return done(layerError);186 setImmediate(done, layerError);187 return;188 }189190 self.match_layer(layer, req, res, function (err, path) {191 if (err || path === undefined) {
385 unmodified lines
modified:History.md+1 added
1unreleased2==========34 * Correctly invoke async router callback asynchronously5 * deps: accepts@~1.1.36 - deps: mime-types@~2.0.37 * deps: type-is@~1.5.38 - deps: mime-types@~2.0.3
2458 unmodified lines