Feross Aboukhadijeh
fb751d7c96
Re-enable ws server tests (websocket tracker)
2017-01-29 16:25:16 -08:00
Feross Aboukhadijeh
2cb749d739
minor style
2017-01-29 15:37:22 -08:00
Feross Aboukhadijeh
0f57bfcd28
8.2.0
2017-01-23 15:00:31 -08:00
Feross Aboukhadijeh
3b463e4dbf
Merge pull request #194 from feross/final-wait
...
Wait up to 1s for pending requests before destroy()
2017-01-23 14:59:19 -08:00
Feross Aboukhadijeh
0aadcc1cbb
Wait up to 1s for pending requests before destroy()
...
If the user calls:
client.stop()
client.destroy()
We should ensure that the final 'stopped' message reaches the tracker
server, even though the client will not get the response (because they
destroyed the client and no more events will be emitted).
If there are pending requests when destroy() is called, then a 1s timer
is set after which point all requests are forcibly cleaned up. If the
requests complete before the 1s timer fires, then cleanup happens right
away (so we're not stuck waiting for the 1s timer).
So, destroy() can happen one of three ways:
- immediately, if no pending requests exist
- after exactly 1s, if pending requests exist and they don't complete
within 1s
- less than 1s, if pending requests exist and they all complete before
the 1s timer fires
2017-01-20 18:41:28 -08:00
Feross Aboukhadijeh
9cf2dffa67
debug: better debug names
2017-01-20 18:34:33 -08:00
Feross Aboukhadijeh
c3bf7f87f6
test: add failing test for the second part of #190
2017-01-20 18:34:05 -08:00
Feross Aboukhadijeh
63d24611ec
test: speed up testClientUpdate() test
2017-01-20 18:33:30 -08:00
Feross Aboukhadijeh
1424a00c3a
test: don't rely on setTimeout in testClientStop()
2017-01-20 18:33:17 -08:00
Feross Aboukhadijeh
ee45b7947b
update filter tests to clarify multiple clients
2017-01-20 18:32:59 -08:00
Feross Aboukhadijeh
e5812fdd29
electron-webrtc@0.3
2017-01-20 15:20:25 -08:00
Feross Aboukhadijeh
bae84372f3
authors
2017-01-16 15:44:17 -08:00
Feross Aboukhadijeh
dea66d1b3e
8.1.0
2017-01-16 15:44:11 -08:00
Feross Aboukhadijeh
c4f4f012dd
Add fixes and tests for PR #179
2017-01-16 15:43:47 -08:00
Feross Aboukhadijeh
91cb2d3439
Merge pull request #179 from zunsthy/feature-add-user-agent
...
add 'user-agent' in HTTP header
2017-01-16 15:20:11 -08:00
Feross Aboukhadijeh
563c55bd71
AUTHORS
2017-01-16 14:52:27 -08:00
Feross Aboukhadijeh
437b4fb5f7
8.0.14
2017-01-16 14:39:19 -08:00
Feross Aboukhadijeh
c454bdec87
Merge pull request #191 from feross/dep
...
bencode@0.11
2017-01-16 14:38:18 -08:00
Feross Aboukhadijeh
714d91e0ca
bencode@0.11
2017-01-16 14:36:01 -08:00
Feross Aboukhadijeh
e4e680bfc5
Merge pull request #188 from vijayanandnandam/master
...
Fixes documentation in readme for multiscrape api
2017-01-16 05:07:01 -08:00
vijayanand nandam
cde079c419
fixes documentation in readme for multiscrape api
2017-01-08 16:08:11 +05:30
Feross Aboukhadijeh
a727fd9012
8.0.13
2016-12-04 17:09:20 -08:00
Feross Aboukhadijeh
a32ae8f1b4
Merge pull request #185 from sidd/master
...
Fix issue where seeders improperly marked as leechers
2016-12-04 17:07:38 -08:00
Sidd Sridharan
9d9893a0f2
parse params.left = 0 properly
2016-12-04 12:42:57 -08:00
Feross Aboukhadijeh
3a0fec0701
standard fixes
2016-11-22 19:52:01 -03:00
ZunSThy
bd8bc9f6af
add 'user-agent' in HTTP header
2016-11-06 16:00:08 +08:00
ZunSThy
e0ede27049
Revert "add 'user-agent' in HTTP header"
...
This reverts commit 725527aa84
.
2016-11-06 15:59:04 +08:00
ZunSThy
7ae7a2ca07
Revert "fix eslint"
...
This reverts commit 0444e937e2
.
2016-11-06 15:58:52 +08:00
ZunSThy
0444e937e2
fix eslint
2016-10-29 04:25:50 +08:00
ZunSThy
725527aa84
add 'user-agent' in HTTP header
2016-10-29 02:51:37 +08:00
Feross Aboukhadijeh
524eb13b09
8.0.12
2016-10-03 23:43:45 -07:00
Feross Aboukhadijeh
cb8c324ebe
Support lazy 'wrtc' module initialization
...
For: https://github.com/feross/webtorrent-hybrid/issues/46
2016-10-03 23:42:02 -07:00
Feross Aboukhadijeh
f21911a509
Merge pull request #176 from feross/once
...
Add test: no "update" events after destroy()
2016-09-21 22:36:49 +02:00
Feross Aboukhadijeh
15a35cedd9
add test: no "update" events after destroy()
2016-09-16 07:49:49 -07:00
Feross Aboukhadijeh
b2cbfafae7
use 'once' on some event handlers
2016-09-16 07:49:29 -07:00
Feross Aboukhadijeh
d5161e6ce5
standard
2016-08-25 18:56:49 -07:00
Feross Aboukhadijeh
8135ca319e
8.0.11
2016-08-20 19:39:04 -07:00
Feross Aboukhadijeh
a35f1f8178
replace hat with randombytes
2016-08-20 19:37:36 -07:00
Feross Aboukhadijeh
fbca6f20d7
8.0.10
2016-08-09 21:42:22 -07:00
Feross Aboukhadijeh
cc4f3fe2bc
add CONTRIBUTING.md
2016-08-09 21:39:36 -07:00
Feross Aboukhadijeh
f2786cde96
Fixes for PR #170
2016-08-09 21:39:30 -07:00
Feross Aboukhadijeh
03fe83339c
Merge pull request #170 from alxhotel/master
...
Check if peek(peerId) is undefined
2016-08-10 06:33:25 +02:00
Alex
ebf117242c
Check if peer is undefined
2016-08-09 13:30:40 +02:00
Feross Aboukhadijeh
8f2e21798c
Merge pull request #169 from alxhotel/master
...
Add id parameter in announce calls
2016-08-08 22:27:04 +02:00
Alex
f14d0b83df
Add id parameter in announce calls
2016-08-08 17:25:25 +02:00
Feross Aboukhadijeh
cb35e58114
Improve AUTHORS.md formatting
2016-08-05 22:44:11 -07:00
Feross Aboukhadijeh
bd3a96716c
8.0.9
2016-08-05 18:41:46 -07:00
Feross Aboukhadijeh
55eda0ed93
Run all tests
2016-08-05 18:41:25 -07:00
Feross Aboukhadijeh
2791cee94b
AUTHORS
2016-08-05 18:40:29 -07:00
Feross Aboukhadijeh
b516eb5adc
8.0.8
2016-08-05 18:26:27 -07:00