mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
add patches for anacrolix@torrent
This commit is contained in:
15
patches/00-responsive-reader.patch
Normal file
15
patches/00-responsive-reader.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- reader.go.orig 2022-06-01 09:26:35.000000000 +0300
|
||||
+++ reader.go 2022-05-17 05:47:36.000000000 +0300
|
||||
@@ -102,9 +102,9 @@
|
||||
if !ok {
|
||||
break
|
||||
}
|
||||
- if !r.responsive && !r.t.pieceComplete(pieceIndex(req.Index)) {
|
||||
- break
|
||||
- }
|
||||
+// if !r.responsive && !r.t.pieceComplete(pieceIndex(req.Index)) {
|
||||
+// break
|
||||
+// }
|
||||
if !r.t.haveChunk(req) {
|
||||
break
|
||||
}
|
||||
Reference in New Issue
Block a user