Feross Aboukhadijeh
a2d5f959ca
bn.js@0.10.0
2014-05-23 21:31:22 -07:00
Feross Aboukhadijeh
3889d91f64
1.0.0
2014-05-23 21:27:17 -07:00
Feross Aboukhadijeh
fe559e0db7
force ipv4 addresses for node 0.11+
2014-05-23 21:25:20 -07:00
Feross Aboukhadijeh
62be68979b
ALL TESTS WORK OFFLINE
...
Fixes #18
2014-05-23 21:17:31 -07:00
Feross Aboukhadijeh
2aea063b8c
make client tests work offline
...
for #18
2014-05-23 21:14:19 -07:00
Feross Aboukhadijeh
dc6f355391
make magnet test work offline
...
for #18
2014-05-23 21:02:53 -07:00
Feross Aboukhadijeh
387c1e536e
udp client: clean up timer situation
2014-05-23 21:02:09 -07:00
Feross Aboukhadijeh
cc4c73ec24
Revert "udp client: unref the socket"
...
This reverts commit 6f1aa981d4
.
Conflicts:
index.js
2014-05-23 20:44:48 -07:00
Feross Aboukhadijeh
14034c2848
wait for server close before next test
2014-05-23 20:43:45 -07:00
Feross Aboukhadijeh
0ff2c1917b
timeout might not be defined
2014-05-23 20:43:12 -07:00
Feross Aboukhadijeh
954b3af78e
make large torrent test not depend on the network
...
for #18
2014-05-23 20:35:29 -07:00
Feross Aboukhadijeh
b3d4acbb46
simplify server tests
2014-05-23 20:35:01 -07:00
Feross Aboukhadijeh
351f829104
udp client: don't set a timer for stopped message
2014-05-23 20:34:46 -07:00
Feross Aboukhadijeh
6f1aa981d4
udp client: unref the socket
2014-05-23 20:34:31 -07:00
Feross Aboukhadijeh
9bf68da828
udp client: add try-catches around close()
2014-05-23 20:34:23 -07:00
Feross Aboukhadijeh
783263f3a0
add udp tracker server
...
fixes #9
2014-05-23 19:44:57 -07:00
Feross Aboukhadijeh
9c8e3ab62a
add udp/http option docs
2014-05-23 18:06:29 -07:00
Feross Aboukhadijeh
0176c3d09b
add 'warning' event to docs
2014-05-23 18:05:18 -07:00
Feross Aboukhadijeh
eddef2f197
print out warning messages in tests
2014-05-23 18:03:50 -07:00
Feross Aboukhadijeh
f6d020128c
add failing udp server test
2014-05-23 18:01:51 -07:00
Feross Aboukhadijeh
d1aca7c3d4
disable udp tracker for http server test
2014-05-23 18:01:42 -07:00
Feross Aboukhadijeh
872518d1b5
client support for udp tracker error message
2014-05-23 18:01:13 -07:00
Feross Aboukhadijeh
3d50193ba0
0.7.3
2014-05-22 11:27:39 -07:00
Feross Aboukhadijeh
72b7608acd
Merge pull request #20 from mafintosh/no-data-fix
...
only handle response if there is any data
2014-05-22 11:27:04 -07:00
Mathias Buus
98d1b0a17c
only handle response if there is any data
2014-05-22 17:42:44 +02:00
Feross Aboukhadijeh
59d3c01937
0.7.2
2014-05-18 18:37:09 -07:00
Feross Aboukhadijeh
e83328babe
fix bug where client mangles tracker port
...
The client was converting the binary (compact) response to a utf8
string which would modify the data in some cases. Keeping it as a
buffer the whole time solves the issue.
Fixes #19 .
2014-05-18 18:36:40 -07:00
Feross Aboukhadijeh
67be6227c0
cleanup server test
2014-05-18 18:35:12 -07:00
Feross Aboukhadijeh
c4871a5480
bump deps
2014-05-18 18:34:56 -07:00
Feross Aboukhadijeh
418e996b81
add tracker server jsdoc comment
2014-05-18 17:58:03 -07:00
Aliaksei Sapach
dfd235d387
fixed test plan
2014-05-18 19:41:42 +03:00
Aliaksei Sapach
55120f5c48
added a failing test
2014-05-18 19:15:20 +03:00
Feross Aboukhadijeh
7b5be63e75
0.7.1
2014-05-17 12:52:31 -07:00
Feross Aboukhadijeh
239e4f6add
remove vim comment
2014-05-17 12:52:06 -07:00
Feross Aboukhadijeh
7d880680ab
Merge pull request #17 from fisch0920/master
...
small bugfix for erroneous trackers
2014-05-17 12:51:20 -07:00
fisch0920
d7b567554f
Merge remote-tracking branch 'upstream/master'
2014-05-15 06:30:11 -04:00
fisch0920
c4684c8b72
fixed issue where an erroneous tracker could cause webtorrent to crash because socket.close was already closed after an error state
2014-05-15 06:29:47 -04:00
Feross Aboukhadijeh
c60fe18c6d
0.7.0
2014-05-14 12:50:33 -07:00
Feross Aboukhadijeh
cc80088038
handle case where parsedTorrent.length is undefined
...
- Expose `torrentLength` so the user can set it when they know the
torrent length. (With a magnet uri, they won’t know the length at the
time the Client is instantiated)
- UDP Client: Send FFFFFFFFFFFFFFFF for ‘left’ param when we don’t know
the size. (This is what Transmission does)
Fixes #15 .
2014-05-14 12:49:15 -07:00
Feross Aboukhadijeh
2983811a71
handle case where magnet uri has only one 'tr' param
2014-05-14 12:46:15 -07:00
Feross Aboukhadijeh
6f565ed6fa
add test: tracker client from magnet uri
2014-05-14 12:45:48 -07:00
Feross Aboukhadijeh
3318ef642d
0.6.1
2014-05-11 23:58:56 -07:00
Feross Aboukhadijeh
bbe2fa35bf
upgrade bn.js
2014-05-11 23:58:42 -07:00
fisch0920
50d3379255
Merge remote-tracking branch 'upstream/master'
2014-05-12 01:14:42 -04:00
fisch0920
a69ee07871
added slightly better error logging
2014-05-12 01:14:24 -04:00
Feross Aboukhadijeh
d0c1caf83b
0.6.0
2014-05-11 17:33:28 -07:00
Feross Aboukhadijeh
e5e0fa9e27
minor style cleanup
2014-05-11 17:32:57 -07:00
Feross Aboukhadijeh
fec4e0dc3d
add readme for scrape feature
2014-05-11 17:29:12 -07:00
Feross Aboukhadijeh
94ae74b32d
remove new
trick for non-exported function
2014-05-11 16:41:47 -07:00
fisch0920
5064a05dde
added client and server support for scrape messages in addition to announce messages (tcp and udp)
2014-05-09 02:38:41 -04:00