Skip to content

Don't return if not listening (websockets) #79

@Chocobozzz

Description

@Chocobozzz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions