Feross Aboukhadijeh
48d0ea42ad
Handle peer 'error' events correctly
...
Handle peer 'error' events that are fired *before* the peer is emitted
in a 'peer' event. Once the peer is emitted in a 'peer' event, then
it's the consumer's responsibility to listen for errors.
This fixes the most common error in WebTorrent Desktop according to our
telemetry.
2017-04-07 17:34:08 -07:00
Feross Aboukhadijeh
c7a2718290
simple-peer@8
2017-04-07 17:05:37 -07:00
Feross Aboukhadijeh
90121a62c2
remove unnecessary quotes
2017-04-04 11:46:43 -07:00
Feross Aboukhadijeh
5eeb819002
standard
2017-03-20 19:28:34 -07:00
Feross Aboukhadijeh
fe8db4751f
authors
2017-03-13 15:29:22 -07:00
Feross Aboukhadijeh
a67ed42b07
9.1.0
2017-03-13 15:22:13 -07:00
Feross Aboukhadijeh
bb0a278809
Merge pull request #218 from yciabaud/request-handler3
...
Expose swarm object on tracker server
2017-03-13 15:21:31 -07:00
Yoann Ciabaud
a77873a765
Merge pull request #1 from feross/feross/request-handler-changes
...
Replace the request handler option by exposing the Swarm
2017-03-12 09:10:09 +01:00
Feross Aboukhadijeh
0c683dfe64
test: change request handler test to new approach
2017-03-10 13:39:12 -08:00
Feross Aboukhadijeh
51b57f66cf
test: remove UDP request handler test -- not possible
2017-03-10 13:39:02 -08:00
Feross Aboukhadijeh
992cd77fc7
expose Swarm object for easy overriding
2017-03-10 13:38:43 -08:00
Feross Aboukhadijeh
ee9ebc506c
remove requestHandler option
2017-03-10 13:38:27 -08:00
Feross Aboukhadijeh
f65983e466
do not filter out extra keys from 'update' events
2017-03-10 13:38:04 -08:00
Yoann Ciabaud
8482c3af0a
Add extra data on ws annouce event
2017-03-09 11:19:46 +01:00
Yoann Ciabaud
1efb832dd7
Remove debug log
2017-03-09 11:19:46 +01:00
Yoann Ciabaud
146d4d46dd
Extension point on requests and responses
2017-03-09 11:19:46 +01:00
Feross Aboukhadijeh
f5a32ff13d
Merge pull request #217 from feross/fix-emails
...
Update ignore emails
2017-03-08 15:05:34 -08:00
Diego Rodríguez Baquero
386f4b02d7
Update update-authors.sh
2017-03-08 12:37:03 -05:00
Diego Rodríguez Baquero
862180d88f
Merge pull request #216 from GusCaplan/patch-1
...
very much wrong email
2017-03-08 12:06:09 -05:00
Gus Caplan
3ddd423e9d
very much wrong email
2017-03-08 05:16:44 -06:00
Feross Aboukhadijeh
2344f8347d
authors
2017-03-08 02:16:29 -08:00
Feross Aboukhadijeh
13c4e88746
9.0.3
2017-03-08 02:12:28 -08:00
Feross Aboukhadijeh
173161cc47
Merge pull request #209 from GusCaplan/patch-1
...
Update common-node.js
2017-03-08 02:12:07 -08:00
Feross Aboukhadijeh
714400abae
use correct API signature in querystring methods
2017-03-08 02:07:48 -08:00
Feross Aboukhadijeh
4e75a11602
9.0.2
2017-03-08 01:34:14 -08:00
Feross Aboukhadijeh
0c973661d2
Merge pull request #215 from feross/upgradereq
...
Delete `socket.upgradeReq` when it is no longer needed to reduce memory usage
2017-03-08 01:32:57 -08:00
Feross Aboukhadijeh
a09158bb4b
Delete socket.upgradeReq
when it is no longer needed to reduce memory usage
...
cc @lpinca
2017-03-07 13:22:51 -08:00
Feross Aboukhadijeh
1631f611fa
authors
2017-03-07 13:11:11 -08:00
Feross Aboukhadijeh
9999741e7f
9.0.1
2017-03-07 13:09:59 -08:00
Feross Aboukhadijeh
5b05a43cce
Merge pull request #213 from lpinca/bufferutil
...
add bufferutil as optional dependency
2017-03-07 13:09:25 -08:00
Luigi Pinca
d22ad6b6fa
add bufferutil as optional dependency
2017-03-03 14:00:55 +01:00
Feross Aboukhadijeh
490138c9a3
9.0.0
2017-03-01 22:57:35 -08:00
Feross Aboukhadijeh
e4eb1a8069
Merge pull request #212 from feross/filter-cb
...
BREAKING: change how the filter function works
2017-03-01 22:57:09 -08:00
Feross Aboukhadijeh
40202a00b7
BREAKING: change how the filter function works
...
It's non-standard for a callback function to take a non-error argument
in the first position.
So instead of the filter callback accepting three types of arguments:
cb(true) // allowed
cb(false) // disallowed
cb(new Error('custom message')) // disallowed with custom message
It now accepts two forms:
cb(new Error('custom message')) // disallowed with custom message
cb(null) // allowed
2017-03-01 22:54:40 -08:00
Feross Aboukhadijeh
eef8bdd326
8.6.1
2017-03-01 22:33:51 -08:00
Feross Aboukhadijeh
6fdb3067e2
simple-peer@7
2017-03-01 22:33:35 -08:00
Feross Aboukhadijeh
0951f21a95
8.6.0
2017-03-01 22:30:00 -08:00
Feross Aboukhadijeh
3b17130092
Merge pull request #211 from feross/deps
...
Update dependencies
2017-03-01 22:28:34 -08:00
Feross Aboukhadijeh
3c7a637efd
ws@2
2017-03-01 22:27:56 -08:00
Feross Aboukhadijeh
de5578a565
simple-websocket@5
2017-03-01 22:27:49 -08:00
Feross Aboukhadijeh
28b6384fda
8.5.2
2017-02-28 15:45:29 -08:00
Feross Aboukhadijeh
1dd1cc32da
Revert "client: socketPool should not be shared across clients"
...
This reverts commit 3f3db7deb1
.
2017-02-28 15:41:52 -08:00
Feross Aboukhadijeh
78722e0a05
8.5.1
2017-02-28 15:31:53 -08:00
Feross Aboukhadijeh
7652e7465c
Merge pull request #208 from feross/fix-205
...
Fix socket.infoHashes access error
2017-02-28 15:31:05 -08:00
Gus Caplan
e771c0f57e
Update common-node.js
2017-02-21 17:16:18 -06:00
Gus Caplan
9962d31e69
Update common-node.js
...
i was just reading the source and noticed this, if there is some reason it won't work please let me know
2017-02-21 17:07:03 -06:00
Feross Aboukhadijeh
ccb50a7ee9
add one missing self.destroyed check
2017-02-21 01:51:08 -08:00
Feross Aboukhadijeh
fe11c695cb
do not close socket even when it's not in other swarms
2017-02-21 01:50:48 -08:00
Feross Aboukhadijeh
b2c2b8f0d0
do not access socket.infoHashes if socket is destroyed
2017-02-21 01:50:30 -08:00
Feross Aboukhadijeh
40707a1605
8.5.0
2017-02-13 17:39:46 -08:00