Comments (3)
It looks like this code was actually working, even though you're right that torrentLength
could be undefined. It just means that the tracker server was receiving some garbage (probably negative number) as the number of bytes left in the torrent.
I added code to explicitly handle this case, and exposed the torrentLength
property so users can set it explicitly once they know the size.
Thanks for reporting this issue!
from bittorrent-tracker.
Thank for fast response :)
from bittorrent-tracker.
Forgot to mention that I published this fix as 0.7.0.
from bittorrent-tracker.
Related Issues (20)
- Brave Webtorrent buiild broken after [email protected] HOT 1
- Fix documentation for server implementation
- Make HTTPTracker available in browser? HOT 2
- Socks5 error: Socks.createConnection is not a function HOT 1
- Tracker fails to work when pushed to a VPS HOT 1
- /stats additionals HOT 3
- 请问支持win10吗? HOT 2
- Typescript Support HOT 1
- HTTP tracker server still runs when the option of Server constructor "http" is set to be false HOT 1
- ERR_PACKAGE_PATH_NOT_EXPORTED on require HOT 2
- EPERM Issue on install
- `peer_id` from announce query string interpreted as latin1 then converted to UTF-8 before being returned as a transformed and wrong value in the peer list. HOT 5
- BEP for WebTorrent HOT 3
- Can you guys provide a binary excuteable by using javascript pkg framework to the release page? HOT 4
- d14:failure reason17:invalid info_hashe HOT 1
- Bittorrent v2 support HOT 13
- npm versions > 10.0.8 will not run due to bug in simple-peer lite HOT 1
- Upload / download count for each peerID HOT 1
- socksProxy Socks.Agent is not a constructor HOT 1
- SSRF Error and UDP not HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bittorrent-tracker.