Comments (5)
Here is an example, first announce response is correct (tracker interval is 30 minutes), and all other are errors
announce timestamps:
1345798762 | this is first announce, event = started
1345798795 |
1345798800 |
1345798810 |
1345798830 |
...
this is single tracker torrent btw and I'm using latest git code. Why is this happening ?
Thanks !
from libtorrent.
When requesting more peers, if denied it goes into failure mode rather than waitiing until min request timer finishes.
I'll look into a fix.
from libtorrent.
The min_interval issue has been fixed.
from libtorrent.
--- src/torrent/tracker.h,orig 2012-09-25 21:56:47.607686352 +0200
+++ src/torrent/tracker.h 2012-09-25 22:01:13.731684611 +0200
@@ -150,4 +150,4 @@
- void set_normal_interval(int v) { if (v >= 600 && v <= 3600) m_normal_interval = v; }
- void set_min_interval(int v) { if (v >= 300 && v <= 1800) m_min_interval = v; }
+ void set_normal_interval(int v) { m_normal_interval = std::min(std::max(600, v), 3600); }
+ void set_min_interval(int v) { m_min_interval = std::min(std::max(300, v), 1800); }
This also contributes to the problem (and this diff fixes it), since current code ignores values that are considered out of range, instead of normalizing them into the range,
from libtorrent.
Fixed.
from libtorrent.
Related Issues (20)
- Just FYI: rTorrent Crash, 'priority_queue_erase(...) called on an invalid item.' HOT 4
- Build with/without INOTIFY HOT 1
- Regular rtorrent crashes because of DHT HOT 2
- LibTorrentTest fails to build on 13.8 due to multiple definitions. HOT 2
- Crash when rechecking torrents with missing empty files
- 0.13.8: test suite linkinmg fails with LTO
- Support for BEP52 (BitTorrent v2) HOT 1
- libtorrent: FTBFS on hurd-i386: error: 'IPV6_TCLASS' was not declared in this scope. HOT 1
- How to build libtorrent after commit 53596af? HOT 3
- Getting lots of "message:7 network error" on handshake_manager however network is fine
- 'make check' fails with missing sig_t on Solaris
- OpenSSL v3 support for libtorrent
- how to bind a callback function for specific events HOT 1
- Several branches
- New release?
- FR: ipv6 support for UDP trackers
- Commit e22c77f causes rtorrent/rutorrent to crash when setting torrent file priority to not download
- received a chunk that has already been filled
- Commit 0f957c2 breaks rtorrent IPV4 TOS setting.
- libtorrent.so 0.13.8 crash on Rasberry PI4 kernel due to unaligned access HOT 5
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 libtorrent.