trevoro / node-named

DNS Server in node.js
MIT License
356 stars 100 forks source link

Prevent 'query' event from being emitted if there's no query object. #3

Closed ghost closed 10 years ago

ghost commented 10 years ago

It may be possible for the query object to be undefined due to Query.parse() throwing an exception via protocol.decode() in server.js.