Commit Graph

405 Commits

Author SHA1 Message Date
Astro
138bdb8573 server: rm check for http/udp option
my use-case brings its own http server, i just use onHttpRequest()
2015-02-06 18:16:47 +01:00
Feross Aboukhadijeh
424bc3cd11 3.1.0 2015-02-05 18:27:37 -08:00
Astro
3101afd431 Merge pull request #59 from feross/issue-58
Allow more control over HTTP routing
2015-02-06 03:05:09 +01:00
Astro
b33531d835 server: allow onHttpRequest() with options={ action: 'announce' } for custom routing
For GH issue #58
2015-02-04 20:35:52 +01:00
Astro
e1b7fa7e5c server: save HTTP req/res in params
For GH issue #58
2015-02-04 20:34:46 +01:00
Feross Aboukhadijeh
73ef97239b 3.0.3 2015-02-02 15:20:38 -08:00
Feross Aboukhadijeh
6ac9ae6a6e perf: don't dynamically add new properties to peer objects 2015-02-02 15:20:15 -08:00
Feross Aboukhadijeh
a65c733125 3.0.2 2015-01-31 15:26:00 -08:00
Feross Aboukhadijeh
72922a64e4 fix regression in 3.0.1 2015-01-31 15:25:37 -08:00
Feross Aboukhadijeh
dd23967082 3.0.1 2015-01-31 15:04:39 -08:00
Feross Aboukhadijeh
287cd873bc remove extend.js 2015-01-31 15:04:16 -08:00
Feross Aboukhadijeh
c2fb38b9e3 3.0.0 2015-01-29 14:59:34 -08:00
Feross Aboukhadijeh
82e6792a6b BREAKING CHANGES
Breaking changes:
- 'listening' event no longer emits with `port` param
- `server.port` property removed (instead, use
`server.http.address().port`)

Added features:
- expose http server as `server.http`
- expose udp server as `server.udp`
- client.destroy() - ungracefully leave the swarm
- server: added `filter` option to black/whitelist torrents

Bugfixes:
- client considers udp tracker errors to be warnings
- emit 'start', 'stop', 'update', etc. AFTER response sent
- fix udp error response action and message being `undefined`

Internal:
- remove `portfinder` dep
- add complete test for `filter` functionality
2015-01-29 14:59:08 -08:00
Feross Aboukhadijeh
098ec7041c Merge branch 's1dd-master' 2015-01-29 13:27:00 -08:00
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