Commit Graph

625 Commits

Author SHA1 Message Date
Yoann Ciabaud
35e6eeaef2 Close the websocket only when no one is using it 2016-03-16 17:33:06 -07:00
Yoann Ciabaud
c2115fbf7f Adds unit testing for websocket server 2016-03-16 17:33:06 -07:00
Feross Aboukhadijeh
a79dc1eb1e Update tracker-scrape.md 2016-03-16 16:38:30 -07:00
Feross Aboukhadijeh
ad72559ceb Merge pull request #131 from feross/authors
Add AUTHORS.md
2016-03-16 15:24:45 -07:00
Feross Aboukhadijeh
dd69dc6b22 Add AUTHORS.md
Give contributors credit!
2016-03-16 15:24:15 -07:00
Feross Aboukhadijeh
4595824d25 add tracker scrape example 2016-03-16 15:19:43 -07:00
Feross Aboukhadijeh
2dabde8858 7.5.3 2016-03-16 12:23:17 -07:00
Feross Aboukhadijeh
e336f1a070 test: use webtorrent-fixtures 2016-03-16 12:22:33 -07:00
Feross Aboukhadijeh
1f4a68ae09 7.5.2 2016-03-15 21:41:57 -07:00
Feross Aboukhadijeh
ede2119f78 Fixes for PR #128 2016-03-15 21:41:10 -07:00
Feross Aboukhadijeh
5d4cf75e0a Merge pull request #123 from DiegoRBaquero/patch-1
Reconnect timeout improvement
2016-03-15 21:41:01 -07:00
Diego Rodríguez Baquero
050d95ac72 Variance and higher max 2016-03-16 01:14:24 -03:00
Feross Aboukhadijeh
b2ff218e93 Merge pull request #128 from DiegoRBaquero/patch-2
Don't add non-secure trackers on a https site
2016-03-15 21:10:18 -07:00
Feross Aboukhadijeh
4b62a418dd 7.5.1 2016-03-15 21:00:15 -07:00
Feross Aboukhadijeh
8c01cb7268 do not throw and crash client 2016-03-15 20:59:04 -07:00
Feross Aboukhadijeh
d3389f6784 7.5.0 2016-03-15 20:08:29 -07:00
Feross Aboukhadijeh
7a7ed575e1 check for params.offers to determine if offers were received 2016-03-15 20:06:53 -07:00
Feross Aboukhadijeh
ba4a52d2d1 Fixes for PR #125 2016-03-15 20:06:39 -07:00
Feross Aboukhadijeh
3d753ab805 Merge pull request #125 from yciabaud/ws-scrape
Scrape implementation for websocket. Issue #116
2016-03-15 19:39:59 -07:00
Diego Rodríguez Baquero
0133c96d22 Remove unneeded parenthesis 2016-03-15 00:18:18 -03:00
Diego Rodríguez Baquero
3d84d44abc Don't add insecure trackers on a https site
https://github.com/feross/webtorrent/issues/67#issuecomment-189853184
2016-03-15 00:16:25 -03:00
Feross Aboukhadijeh
7daf7ec297 7.4.1 2016-03-14 19:26:56 -07:00
Feross Aboukhadijeh
6df64ffe06 Fixes for PR #126 2016-03-14 19:16:00 -07:00
Feross Aboukhadijeh
2fee125554 Merge pull request #126 from Autarc/fix-callback-on-destroy
invoke callbacks of destroyed trackers
2016-03-14 19:12:43 -07:00
Autarc
09e2b55e42 invoke callbacks of destroyed trackers 2016-03-14 17:13:34 +01:00
Yoann Ciabaud
55884194a2 Merge pull request #124 from yciabaud/fix-peertype
Bugfix: Do not use params.ip to filter Websocket peers
2016-03-14 01:24:28 +01:00
Yoann Ciabaud
39507bf8be Scrape implementation for websocket. Issue #116 2016-03-14 00:36:51 +01:00
Yoann Ciabaud
eb3cefec35 Use type from server to filter peers to offer 2016-03-13 15:51:08 +01:00
Feross Aboukhadijeh
60320e3ed5 7.4.0 2016-03-11 17:22:59 -08:00
Feross Aboukhadijeh
e3c65bc2a3 PR Feedback for #120 2016-03-11 17:21:19 -08:00
Feross Aboukhadijeh
bea1021ec6 Merge pull request #120 from yciabaud/client-infos
Provide IP and HTTP headers in both HTTP and Websocket server
2016-03-11 17:18:09 -08:00
Diego Rodríguez Baquero
529203ea40 Max reconnect time 2016-03-11 15:26:55 -03:00
Yoann Ciabaud
af631d9fce Merge remote-tracking branch 'upstream/master' into client-infos 2016-03-11 10:34:07 +01:00
Yoann Ciabaud
2f37e6c476 Adds a type param to identify the source of the peer 2016-03-11 10:09:09 +01:00
Diego Rodríguez Baquero
8e2dbdc576 Reconnect timeout increase lineally
Minimum set at 15 seconds, each retry adds 30 seconds.
2016-03-11 04:12:09 -03:00
Feross Aboukhadijeh
18de34050b 7.3.4 2016-03-10 21:27:38 -08:00
Feross Aboukhadijeh
0585d8b18a use delete obj[key] instead of obj[key] = null 2016-03-10 21:26:28 -08:00
Feross Aboukhadijeh
32c2e985fd Merge pull request #122 from DiegoRBaquero/patch-1
Delete peer on announce stopped
2016-03-10 21:00:18 -08:00
Diego Rodríguez Baquero
e185f321d3 Delete peer on announce stopped 2016-03-11 01:10:34 -03:00
Feross Aboukhadijeh
7406750b74 7.3.3 2016-03-10 18:44:51 -08:00
Feross Aboukhadijeh
b4043d3e74 npmignore img 2016-03-10 18:44:04 -08:00
Yoann Ciabaud
60f03b9529 Provide IP and HTTP headers in both HTTP and Websocket server 2016-03-03 11:10:54 +01:00
Feross Aboukhadijeh
9e02f8e5e7 7.3.2 2016-03-02 01:13:33 -08:00
Feross Aboukhadijeh
7ad6837fb6 7.3.1 2016-03-01 16:22:35 -08:00
Feross Aboukhadijeh
caa6d45e0a Merge pull request #119 from alxhotel/master
Remove info_hash from failure reason
2016-03-01 16:21:45 -08:00
Alex
4142e8cf20 Remove info_hash from failure reason 2016-03-01 19:22:31 +01:00
Feross Aboukhadijeh
00e84cb669 readme 2016-02-29 20:17:51 -08:00
Feross Aboukhadijeh
79898abcf0 7.3.0 2016-02-29 18:16:27 -08:00
Feross Aboukhadijeh
3485f2275b update documentation for #107 2016-02-29 18:16:08 -08:00
Feross Aboukhadijeh
48d1f38e63 test/server: use common.createServer 2016-02-29 18:09:04 -08:00