Skip to content

Instantly share code, notes, and snippets.

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