Commit Graph

391 Commits

Author SHA1 Message Date
Sidd Sridharan
55079798c5 white/blacklist implemented (#44) + docs/tests updated 2015-01-29 12:24:17 -08:00
Feross Aboukhadijeh
474ce73c93 standard@2 2015-01-28 19:26:55 -08:00
Feross Aboukhadijeh
812c2ded4e style 2015-01-28 18:18:47 -08:00
Feross Aboukhadijeh
a6f14037ff style 2015-01-28 18:09:23 -08:00
Feross Aboukhadijeh
ebb86f728f JavaScript Standard Style
https://github.com/feross/standard
2015-01-26 18:16:01 -08:00
Feross Aboukhadijeh
556f672028 Update README.md 2015-01-25 19:17:51 -08:00
Feross Aboukhadijeh
26c5f43783 update feature list 2015-01-25 19:16:46 -08:00
Feross Aboukhadijeh
a096d27d7a 2.12.1 2015-01-23 22:42:25 -08:00
Feross Aboukhadijeh
d562f14e06 fix debug usage 2015-01-23 22:42:05 -08:00
Mathias Buus
a4605bd67c Merge pull request #56 from maxogden/patch-1
add debug statement for udp response
2015-01-23 22:34:26 -08:00
Max Ogden
9e691afbfe add debug statement for udp response 2015-01-23 22:16:44 -08:00
Feross Aboukhadijeh
1e9195f5b1 badges 2015-01-22 14:28:06 -08:00
Feross Aboukhadijeh
bc66025350 2.12.0 2015-01-22 14:24:14 -08:00
Feross Aboukhadijeh
94feea69e2 Support http tracker redirects, gzip/deflate 2015-01-22 14:23:53 -08:00
Feross Aboukhadijeh
b3ea3f73aa 2.11.0 2015-01-22 14:14:51 -08:00
Feross Aboukhadijeh
3fd782b4cd parse-torrent@3 2015-01-22 14:14:15 -08:00
Feross Aboukhadijeh
ab9caa3570 bn.js@1 2015-01-22 14:14:10 -08:00
Feross Aboukhadijeh
255395e215 Merge pull request #55 from n1t0/master
[Client] Add https support
2015-01-22 14:11:04 -08:00
Anthony MOI
aee4211b7d use url to parse announceUrl 2015-01-22 14:00:24 +01:00
Anthony MOI
e55896e268 Add https support 2015-01-22 13:29:50 +01:00
Feross Aboukhadijeh
dc533f1e7d 2.10.3 2015-01-05 20:12:43 -08:00
Feross Aboukhadijeh
2631afbf1e Merge pull request #53 from feross/fix-interval
server: fix interval unit
2015-01-05 20:12:13 -08:00
Astro
2b8423b04a server: fix interval unit 2015-01-05 19:55:58 +01:00
Feross Aboukhadijeh
344b493adb 2.10.2 2014-12-22 02:17:12 -08:00
Feross Aboukhadijeh
45ea7d2d01 magnet-uri@4 2014-12-22 02:16:51 -08:00
Feross Aboukhadijeh
db08b5131f portfinder@0.3 2014-12-22 02:16:47 -08:00
Feross Aboukhadijeh
9f96b004e0 bn.js@0.16 2014-12-22 02:16:41 -08:00
Feross Aboukhadijeh
15a1042048 extend.js@0.0.2 2014-12-22 02:15:58 -08:00
Feross Aboukhadijeh
f867de47b4 2.10.1 2014-12-22 01:26:58 -08:00
Feross Aboukhadijeh
943223dfa6 Merge pull request #52 from feross/encode-special-chars
encode special characters @*/+ in http tracker urls
2014-12-22 01:26:13 -08:00
Feross Aboukhadijeh
69211515c2 encode special characters @*/+ in http tracker urls
Fixes https://github.com/feross/webtorrent/issues/196
2014-12-17 21:18:46 -08:00
Feross Aboukhadijeh
538bb3e20a include additional debug information 2014-12-17 21:17:58 -08:00
Feross Aboukhadijeh
04d50cf021 2.10.0 2014-12-13 15:20:26 -08:00
Feross Aboukhadijeh
655d2b5be6 Merge pull request #51 from feross/public-onUdpRequest
server: make onUdpRequest() part of public API
2014-12-13 15:19:41 -08:00
Astro
243c94e3d0 server: make onUdpRequest() part of public API
As per https://github.com/feross/bittorrent-tracker/pull/48#issuecomment-66893626
2014-12-14 00:12:21 +01:00
Feross Aboukhadijeh
e6033db541 Merge branch 'server-ipv6' 2014-12-13 14:35:59 -08:00
Feross Aboukhadijeh
83b4ecc7f5 Merge branch 'master' into server-ipv6
Conflicts:
	server.js
2014-12-13 14:35:29 -08:00
Feross Aboukhadijeh
37203fb7a6 Merge pull request #49 from feross/reuse-udp
Server: reuse UDP socket
2014-12-13 14:17:21 -08:00
Feross Aboukhadijeh
ed0dad4656 Merge pull request #48 from feross/public-onHttpRequest
onHttpRequest() as part of the public API
2014-12-13 14:12:26 -08:00
Feross Aboukhadijeh
272a867237 Merge pull request #47 from feross/hex
Use hex info_hash and peer_id throughout
2014-12-13 14:11:34 -08:00
Astro
d79bf92db0 server: ipv6 support 2014-12-13 00:12:47 +01:00
Astro
80da7c50d0 server: reuse udp socket for responses
Reasons:
* Save file-descriptors
* Support clients behind NAT
2014-12-12 17:27:03 +01:00
Astro
2f7a7131d0 server: make onHttpRequest() part of public API 2014-12-12 16:52:13 +01:00
Astro
3b4b487c2c examples/express-embed 2014-12-12 16:51:37 +01:00
Feross Aboukhadijeh
79068a49cf Use hex info_hash and peer_id throughout 2014-12-12 02:02:11 -08:00
Astro
991363a28c Revert "server _onHttpRequest(): ensure non-empty params"
This reverts commit 74d9139049.

Conflicts:
	server.js

feross commented on 74d9139 5 hours ago
> Do we need to check for empty params here?
>
> _onRequest should return an error via callback because
> params.action is missing. Won't that work?
74d9139049 (commitcomment-8937428)
2014-12-12 02:57:01 +01:00
Feross Aboukhadijeh
66b71db8f5 Merge pull request #46 from feross/astro-fixes
swarm.announce() should always call callback
2014-12-11 17:45:51 -08:00
Feross Aboukhadijeh
c75ca05479 swarm.announce() should always call callback
It’s important that calls to swarm.announce() always calls the callback
that it’s passed otherwise http announce/scrape requests
will hang (because res.end() is never called).

Also, since this swarm implementation is in-memory, we can get rid of
the callbacks to internal functions.

Lastly, fixed references to non-existent start() function.
2014-12-11 13:43:11 -08:00
Feross Aboukhadijeh
edb5c6e854 code style 2014-12-11 12:53:39 -08:00
Feross Aboukhadijeh
20cb18272e Merge pull request #45 from feross/refactor
Refactor the server-side code
2014-12-11 12:38:32 -08:00