mdns-js / node-mdns-js

Pure JavaScript/NodeJS mDNS discovery implementation.
Apache License 2.0
161 stars 60 forks source link

Handling of packet parsing error #52

Closed thomasdelaet closed 8 years ago

thomasdelaet commented 8 years ago

mDNS crashes when a packet parsing error occurs. This PR fixes this by not triggering event after packet parsing error is detected.

kmpm commented 8 years ago

Thanks. I feel kind of bad not dealing with such an obvious thing myself. But could you please file a bug report and provide a dump of the packet that failed?