Skip to content

Instantly share code, notes, and snippets.

@squareproton
squareproton / gist:8822158
Created Feb 5, 2014
restify proof of concept bug
View gist:8822158
// behaviour node v<= 0.8
// fixed node >= 0.10
var restify = require('restify');
function delay (req, res, next) {
setTimeout(function(){
next();
}, 0);
}