Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-18 | Implements BEP53 to allow file selection using &so in magnetURIs (#1396) | Brad Marsden | |
* Implements BEP53 to allow file selection using &so in magnetURI. | |||
2018-05-10 | Access-Control-Allow-Methods are GET,HEAD | Feross Aboukhadijeh | |
Fixes: https://github.com/webtorrent/webtorrent/issues/1267 | |||
2018-04-27 | Ensure both remoteAddress and remotePort exist before using it | Feross Aboukhadijeh | |
2018-03-03 | Merge pull request #1260 from diracdeltas/fix/add-hostname-opt | Feross Aboukhadijeh | |
Add hostname option to mitigate DNS rebinding | |||
2018-03-03 | simplify double if statement | Feross Aboukhadijeh | |
2018-02-18 | standard | Feross Aboukhadijeh | |
2018-01-26 | mime@2 | Feross Aboukhadijeh | |
2018-01-12 | Add hostname option to mitigate DNS rebinding | yan | |
This adds the `hostname` opt to allow the server to validate the `Host` header of incoming requests to prevent DNS rebinding attacks. Needed for https://github.com/brave/browser-laptop/issues/12616. | |||
2017-09-25 | Fix file.downloaded for last piece | Alex | |
2017-09-10 | Merge pull request #1183 from magicxiao/fix_debug_function_undefined_bug | Diego RodrÃguez Baquero | |
fix debug function undefined bug | |||
2017-09-08 | fix debug function undefined bug | XiaoJun | |
2017-07-29 | Raise error when streaming from a removed torrent | David Chevers Williams | |
In Node.js 8.2.1, when a torrent is removed while a file from it is being streamed, file-stream.js exits, crashing Node with a TypeError: VM535 file-stream.js:64 Uncaught TypeError: Cannot read property 'get' of null This patch checks whether the torrent has been marked as destroyed, and if so, raises the error to the file stream. | |||
2017-06-25 | Merge pull request #1096 from webtorrent/feross/cors | Diego R. B | |
Add `origin` option for torrent.createServer() | |||
2017-06-01 | added file.progress property, along with documentation | Ash | |
2017-04-15 | feross -> webtorrent | Feross Aboukhadijeh | |
2017-04-14 | Fix uncaught exception (#1103) | Feross Aboukhadijeh | |
Fixes: https://github.com/feross/webtorrent/issues/1100 Fixes: https://github.com/feross/webtorrent/issues/1101 | |||
2017-04-08 | Add `origin` option for torrent.createServer() | Feross Aboukhadijeh | |
When the origin option is specified, only requests from the given origin will be allowed. This is useful to add additional security to any app that is starting a WebTorrent server but doesn't want it to be exposed to the entire Web. | |||
2017-03-17 | Merge pull request #1078 from pahwaranger/master | Feross Aboukhadijeh | |
add filename to path | |||
2017-03-17 | add filename to URL | pahwaranger | |
2017-03-17 | doc: torrent.createServer() takes a function argument | Feross Aboukhadijeh | |
2017-03-14 | Fix files under 16Kb are not downloaded correctly | Feross Aboukhadijeh | |
Fixes: https://github.com/feross/webtorrent/issues/1077 Bug originally introduced in: https://github.com/feross/webtorrent/commit/6ef2785e4bbed07f2429725ed2b0 5bd91fc36233?diff=split | |||
2017-03-13 | Fix detection of seeding peers | malone | |
2017-02-14 | wait to notify() or updateInterest() at end of GC | Feross Aboukhadijeh | |
To prevent it from possibly being called twice, which will do extra work | |||
2017-02-12 | change os.tmpDir() to os.tmpdir() | William | |
fixes deprecation warnings | |||
2017-02-10 | Refactor http server; support content-disposition | Feross Aboukhadijeh | |
Refactored the server into many smaller functions to make it easier to understand all the different code paths. - added a Content-Disposition header, which tells the browser the file's name, since we use urls like http://localhost:port/0 <-- no human-readable file name - Server returns valid HTML documents (with all the required tags) now. - Return 204 status for OPTIONS request - reduce access-control-max-age to chromium max of 600s - respond to OPTIONS requests that lack 'access-control-request-headers' (before they were treated as GET) - return '405 invalid verb' for all other verbs For: https://github.com/brave/browser-laptop/issues/6737 | |||
2017-02-03 | Don't print debug log after torrent is destroyed | Feross Aboukhadijeh | |
2017-02-03 | Be more defensive: prevent code from running after destroy | Feross Aboukhadijeh | |
2017-02-03 | Fix "Cannot read property 'complete' of null" | Feross Aboukhadijeh | |
Fixes: https://github.com/feross/webtorrent/issues/1022 We also check `self.destroyed` since `torrent.destroy()` could have been called in the `torrent.on('done')` handler, triggered by `_checkDone()`. | |||
2017-02-03 | include infoHash in torrent.js debug logs | Feross Aboukhadijeh | |
2017-01-20 | Merge pull request #1021 from feross/emit-more-warnings | Feross Aboukhadijeh | |
Emit more warnings | |||
2017-01-20 | Merge pull request #1019 from feross/fix-962 | Feross Aboukhadijeh | |
Set user-agent header for http tracker requests | |||
2017-01-19 | Emit more warnings | Feross Aboukhadijeh | |
Convert some debug statements that could be useful for an API user (either because they want to show to the user, or to react to the warning in some way) Fixes https://github.com/feross/webtorrent/issues/960 | |||
2017-01-18 | Address feross's feedback | Feross Aboukhadijeh | |
2017-01-18 | Set user-agent header for http tracker requests | Feross Aboukhadijeh | |
Fixes: https://github.com/feross/webtorrent/issues/962 | |||
2016-12-06 | don't emit 'completed' on client.seed | Sidd Sridharan | |
2016-11-28 | Do not choke on web seeds (#972) | George Petrov | |
Web seeds should be considered as pure unchecked seeds according to BEP19 So we should never choke on them. Otherwise when there are no other seeds, the downloads will hang | |||
2016-11-10 | Adding property for downloaded bytes per file. | Mikeal Rogers | |
2016-10-13 | Cross-origin HTTP redirect workaround (#909) | Jack Bates | |
2016-09-18 | server: Handle invalid range handers instead of throwing (#921) | Feross Aboukhadijeh | |
Fixes: #920 | |||
2016-09-17 | Option to disable BEP19 web seeds | DC | |
2016-09-05 | Handle no-arg server.destroy(), fixes #899 | DC | |
2016-09-05 | Fix server.close, fixes #900 | DC | |
2016-08-21 | better debug id | Feross Aboukhadijeh | |
2016-08-19 | Prevent possible stack overflow | Feross Aboukhadijeh | |
See https://github.com/feross/run-parallel-limit/issues/5 | |||
2016-08-04 | Add options to disable autoplay/hide controls | Feross Aboukhadijeh | |
Fix #878. | |||
2016-07-28 | Allow entire torrent deselect() to be called earlier | Feross Aboukhadijeh | |
// Remove default selection (whole torrent) torrent.deselect(0, torrent.pieces.length - 1, false) Can now be called earlier, after 'metadata' instead of after 'ready' https://github.com/feross/webtorrent/issues/857#issuecomment-236022556 | |||
2016-07-27 | Clarify 'error' event handling in docs | Feross Aboukhadijeh | |
2016-07-26 | Use discovery.complete() API | Feross Aboukhadijeh | |
2016-06-22 | WebTorrent http server: Fix HEAD requests | Feross Aboukhadijeh | |
Don't send the entire response body | |||
2016-06-15 | API: Add file.getBlob() method | Feross Aboukhadijeh | |
Get a W3C `Blob` object which contains the file data. The file will be fetched from the network with highest priority, and `callback` will be called once the file is ready. `callback` must be specified, and will be called with a an `Error` (or `null`) and the `Blob` object. |