I run bittorent-tracker in an express application with the ws module and I use onWebSocketConnection to redirect ws request to the bittorent-tracker server. So the tracker never listens, and thus it returns at this line. If I remove it, all work as expected.
First of all, thanks for you amazing job :)
I noticed one issue with this line: https://github.com/feross/bittorrent-tracker/blob/master/server.js#L302
I run bittorent-tracker in an express application with the ws module and I use
onWebSocketConnection
to redirect ws request to the bittorent-tracker server. So the tracker never listens, and thus it returns at this line. If I remove it, all work as expected.