Skip to content

Conversation

@feross
Copy link
Member

@feross feross commented Dec 11, 2014

It’s important that calls to swarm.announce() always calls the callback
that it’s passed otherwise http announce/scrape requests
will hang (because res.end() is never called).

Also, since this swarm implementation is in-memory, we can get rid of
the callbacks to internal functions.

Lastly, fixed references to non-existent start() function.

@astro Please code review!

It’s important that calls to swarm.announce() always calls the callback
that it’s passed otherwise http announce/scrape requests
will hang (because res.end() is never called).

Also, since this swarm implementation is in-memory, we can get rid of
the callbacks to internal functions.

Lastly, fixed references to non-existent start() function.
@astro
Copy link
Contributor

astro commented Dec 12, 2014

Right. This merge will simplify things.

feross added a commit that referenced this pull request Dec 12, 2014
swarm.announce() should always call callback
@feross feross merged commit 66b71db into master Dec 12, 2014
@feross
Copy link
Member Author

feross commented Dec 12, 2014

Excellent!

@feross feross deleted the astro-fixes branch March 24, 2016 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants