Comments (2)
Discussion:
I'm guessing that what's happening is:
Node A is serving
Node B connects to A
Node B crashes
Node B tries to reconnect to A.
Node A rejects the reconnection because it hasn't expired the original connection from node B.
This is probably normal behavior, since it takes TCP/IP a while to notice that crashed connections are timed out. but we could review the code to see if there's any way for Node A to detect that the original node B has crashed. Ideally without trying to communicate with the original node B -- don't want to be an amplification vector for DDOS attacks.
As for the "empty file that is the same size as the original file" I assume that is on node B. I thought we didn't create files until we received data for them, but maybe I'm mis-remembering, or maybe things have changed since I wrote the code. I guess it's worth investigating as well.
from taipei-torrent.
No, I have also met this problem and found the reason probably. Because if I use the bittorrent as the tracker, when Taipei-Torrent client
use "startTrackerClient" function to quest from the tracker, the tracker will answer a string that contains many same peerIDs. So in my opinion, when the Taipei-Torrent client stops, it does not request the tracker to delete the peerID.
from taipei-torrent.
Related Issues (20)
- How do I get list of peers for a given swarm? HOT 7
- Feature Request: Support WebTorrent HOT 1
- Leachers seem to prefer seeders, is that correct behavior? HOT 3
- Killed process can leave corrupted resume file.
- Torrent session not properly torn-down on loading error.
- This project does not implement "rarest first" algorithm
- Usually have "send a bad piece" error HOT 1
- have it implementation bep_0009? HOT 1
- sorry for a problem
- need help!!!
- add http stream Features pls
- Integration with blockchain (tendermint) HOT 1
- keepalived msg, empty msg, also read msg len: 1, why do this? HOT 6
- Request: Status update in-place
- Torrent file created from magnet link can't be loaded.
- Compartmentalization/files API simplification HOT 3
- Incorrect download size reported after client-side restart during the download process
- install error HOT 1
- Skip files
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 taipei-torrent.