bittorrent-tracker/test
Alex ad64dc3a68
feat: add proxy support for tracker clients (#356)
* Add a httpAgent options to http and websocket client trackers.

* Add a socks proxy to udp client trackers.

* Update http agent mock to node 5+

* Bugfix in socks configuration

* Use new socket to connect to the proxy relay and slice the proxy header from the message

* Add documentation for proxy

* Provide http and https agents for proxy.
Change proxy options structure and auto populate socks HTTP agents.

* Update documentation

* Check socks version for UDP proxy

* Clone proxy settings to prevent Socks instances concurrency

* Generate socks http agents on the fly (reuse is not working)

* Use clone to deepcopy socks opts

* Dont create agent for now since we cannot reuse it between requests.

* Removed unused require

* Add .gitignore

* Fix merge conflict

* Fix URL toString

* Fix new Socket constructor

Co-authored-by: Yoann Ciabaud <yoann@sonora.io>
2021-08-20 16:08:36 -05:00
..
client-large-torrent.js fix: modernize 2021-06-14 20:54:41 -05:00
client-magnet.js fix: modernize 2021-06-14 20:54:41 -05:00
client-ws-socket-pool.js fix: modernize 2021-06-14 20:54:41 -05:00
client.js feat: add proxy support for tracker clients (#356) 2021-08-20 16:08:36 -05:00
common.js fix: modernize 2021-06-14 20:54:41 -05:00
destroy.js fix: modernize 2021-06-14 20:54:41 -05:00
evict.js fix: modernize 2021-06-14 20:54:41 -05:00
filter.js fix: modernize 2021-06-14 20:54:41 -05:00
querystring.js fix: modernize 2021-06-14 20:54:41 -05:00
request-handler.js fix: if websocket closed, don't produce a response 2021-07-21 20:07:06 -05:00
scrape.js fix: modernize 2021-06-14 20:54:41 -05:00
server.js fix: modernize 2021-06-14 20:54:41 -05:00
stats.js fix: modernize 2021-06-14 20:54:41 -05:00