Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for PR #799 #809

Merged
merged 3 commits into from May 19, 2016
Merged

Fixes for PR #799 #809

merged 3 commits into from May 19, 2016

Conversation

@feross
Copy link
Member

feross commented May 19, 2016

  • Support multiple &xs= params in parallel
  • Fail on 'error' 'warning' events
- Support multiple &xs= params in parallel
- Fail on 'error' 'warning' events
@feross

This comment has been minimized.

Copy link
Member Author

feross commented May 19, 2016

@Sebmaster Can you please review this PR when you get the chance?

// wait for torrent-discovery to find peers and ut_metadata to get the metadata.
self._onMetadata(self)
} else if (self.xs) {
self._getMetadataFromServer()

This comment has been minimized.

Copy link
@feross

feross May 19, 2016

Author Member

Moved to after listening event since it's really fast and it's when the other discovery happens. This may prevent future bugs where we expect to already be listening.

return cb(null)
}
if (res.statusCode !== 200) {
self._debug('non-200 status code from xs param: %s', url)

This comment has been minimized.

Copy link
@Sebmaster

Sebmaster May 19, 2016

Contributor

Print the specific status code here?

This comment has been minimized.

Copy link
@feross

feross May 19, 2016

Author Member

Good idea!

@Sebmaster

This comment has been minimized.

Copy link
Contributor

Sebmaster commented May 19, 2016

LGTM otherwise.

feross added 2 commits May 19, 2016
- test multiple &xs= params in magnet link
- test param that 404s
@feross feross merged commit 4f30a99 into master May 19, 2016
0 of 4 checks passed
0 of 4 checks passed
continuous-integration/appveyor/branch Waiting for AppVeyor build to complete
Details
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/travis-ci/push The Travis CI build is in progress
Details
@feross feross deleted the fixes-799 branch May 19, 2016
@lock

This comment has been minimized.

Copy link

lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.