http: less spam.

This commit is contained in:
Christopher Jeffrey 2016-12-14 12:11:05 -08:00
parent 4a8c4dee57
commit b2ef630341
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -102,8 +102,8 @@ HTTPServer.prototype._init = function _init() {
var self = this;
this.server.on('request', function(req, res) {
// if (req.pathname === '/')
// return;
if (req.method === 'POST' && req.pathname === '/')
return;
self.logger.debug('Request for method=%s path=%s (%s).',
req.method, req.pathname, req.socket.remoteAddress);