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

Need 'User-Agent' in HTTP header when request from tracker #962

Closed
zunsthy opened this issue Oct 28, 2016 · 1 comment
Closed

Need 'User-Agent' in HTTP header when request from tracker #962

zunsthy opened this issue Oct 28, 2016 · 1 comment

Comments

@zunsthy
Copy link

@zunsthy zunsthy commented Oct 28, 2016

  • WebTorrent version: 0.9x

Background:
In order to get the peer list from BT tracker (WhatCD, BlackCat, HDBits ...), it needs peer_id from url and User-Agent from http headers when announcing.

  1. Add 'User-Agent' option in WebTorrent constructor.
  2. Add 'User-Agent' option in TorrentDiscovery constructor.
  3. Add 'User-Agent' in bittorrent-dht/client when sending HTTP request.
@lock

This comment has been minimized.

Copy link

@lock 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 pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.