http.server 捕获不到close事件
var server = http.createServer(app.callback());
server.on('close',function(){
console.log('server closed!');
});
为毛server close时没有打印?
var server = http.createServer(app.callback());
server.on('close',function(){
console.log('server closed!');
});
为毛server close时没有打印?