From de3309319f036d9b344aad296d9b1b7c9f786468 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 17 Aug 2023 18:14:46 +1000 Subject: [PATCH] Note that torrent.Reader is not concurrent-safe --- reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reader.go b/reader.go index 9670ff09..4b20206c 100644 --- a/reader.go +++ b/reader.go @@ -12,7 +12,7 @@ import ( ) // Accesses Torrent data via a Client. Reads block until the data is available. Seeks and readahead -// also drive Client behaviour. +// also drive Client behaviour. Not safe for concurrent use. type Reader interface { io.ReadSeekCloser missinggo.ReadContexter