server.unbind failed to trigger

This commit is contained in:
Geir Hauge 2014-06-06 20:13:24 +02:00
parent 5a6e781293
commit 451e03af0b
1 changed files with 2 additions and 2 deletions

View File

@ -797,13 +797,13 @@ Server.prototype._getHandlerChain = function _getHandlerChain(req, res) {
route = routes['unbind'];
return {
backend: route ? route.backend : self,
handlers: function getUnbindChain() {
handlers: (function getUnbindChain() {
if (route && route[op])
return route[op];
self.log.debug('%s unbind request %j', req.logId, req.json);
return [defaultNoOpHandler];
}
}())
};
} else if (req.protocolOp === Protocol.LDAP_REQ_ABANDON) {
return {