Commit Graph

658 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
2fffdc6730 ws server: drop support for old tracker clients
old clients don’t send params.action === ‘action’
2016-03-23 21:27:32 -07:00
Feross Aboukhadijeh
4159d35cfc ws client: drop support for old tracker servers
Old tracker server versions don’t send data.action === ‘announce’
2016-03-23 21:26:52 -07:00
Feross Aboukhadijeh
8ed0e14ef4 7.5.9 2016-03-23 18:30:56 -07:00
Feross Aboukhadijeh
2df3ffecef Merge pull request #138 from feross/greenkeeper-bencode-0.8.0
Update bencode to version 0.8.0 🚀
2016-03-23 18:30:08 -07:00
greenkeeperio-bot
d8f227c917 chore(package): update bencode to version 0.8.0
http://greenkeeper.io/
2016-03-23 17:12:02 -07:00
Feross Aboukhadijeh
b178ddf099 7.5.8 2016-03-18 23:15:28 -07:00
Feross Aboukhadijeh
89b9fb7f40 prevent two reconnect timers for running at same time 2016-03-18 23:14:48 -07:00
Feross Aboukhadijeh
49025c1320 reset self.peers = {} after destroy
Supersedes PR #135
2016-03-18 23:12:54 -07:00
Feross Aboukhadijeh
db868cac78 guard against self.socket being null 2016-03-18 23:12:28 -07:00
Feross Aboukhadijeh
e1da561022 7.5.7 2016-03-18 22:49:35 -07:00
Feross Aboukhadijeh
14ef5dc4b0 ensure that params.offers is type Array 2016-03-18 22:49:13 -07:00
Feross Aboukhadijeh
efb81c29cc fix: cleanup websocket connections
Removed by accident here:
https://github.com/feross/bittorrent-tracker/commit/d079171044e0c1f84f9e
431b110358ad1ff2b20f#diff-78c12f5adc1848d13b1c6f07055d996eL602
2016-03-18 22:48:59 -07:00
Feross Aboukhadijeh
4902a99260 ws server: ignore all future socket errors after socket close 2016-03-18 22:35:01 -07:00
Feross Aboukhadijeh
a327348222 7.5.6 2016-03-18 15:57:39 -07:00
Feross Aboukhadijeh
5020b538ce fix: announces only have one info_hash 2016-03-18 15:57:18 -07:00
Feross Aboukhadijeh
36a4c2208a null out bound functions 2016-03-18 15:55:12 -07:00
Feross Aboukhadijeh
bd92a827e1 fix: reference error 2016-03-18 15:55:07 -07:00
Feross Aboukhadijeh
5379416bb2 exclude duplicate author 2016-03-18 15:09:38 -07:00
Feross Aboukhadijeh
4ed7b741aa 7.5.5 2016-03-18 15:06:22 -07:00
Feross Aboukhadijeh
0740f92d7c server: more thorough socket cleanup 2016-03-18 15:06:05 -07:00
Feross Aboukhadijeh
5ee3f22e2b Fixes for PR #134 2016-03-18 15:02:12 -07:00
Feross Aboukhadijeh
20b7a66f54 Merge pull request #134 from DiegoRBaquero/patch-1
Fix #133
2016-03-18 14:56:38 -07:00
Diego Rodríguez Baquero
5138d5c5a9 Standard fix 2016-03-17 16:52:48 -03:00
Diego Rodríguez Baquero
f70d0d2f07 Fix #113 2016-03-17 16:49:27 -03:00
Feross Aboukhadijeh
4642467310 travis: drop node 0.12 -- electron-spawn doesn't work there 2016-03-16 18:16:09 -07:00
Feross Aboukhadijeh
166c5c6d93 7.5.4 2016-03-16 18:13:05 -07:00
Feross Aboukhadijeh
51e2439333 Lower generated offer number to 5
Temporary mitigation for leak issue
2016-03-16 18:06:42 -07:00
Feross Aboukhadijeh
c181020937 client: Do not include WebRTC offers with 'stopped' announce event (fix #132) 2016-03-16 18:04:56 -07:00
Feross Aboukhadijeh
2c23ae7f00 client: websocket: Unref peer.trackerTimeout 2016-03-16 17:59:01 -07:00
Feross Aboukhadijeh
d079171044 Fixes for PR #129 2016-03-16 17:58:47 -07:00
Yoann Ciabaud
5127aad052 Make electron webrtc working in headless and stabdard fix 2016-03-16 17:33:07 -07:00
Yoann Ciabaud
d4c34c344e Destroy peers and tracker timeouts on destroy 2016-03-16 17:33:07 -07:00
Yoann Ciabaud
3252070328 Clear reconnect timeout on destroy 2016-03-16 17:33:06 -07:00
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