Files
rclone/lib
Nick Craig-Wood 55fa9b6ab2 pool: return an error instead of panicking when an RW is used after Close
*pool.RW implements io.Closer, so when one is used directly as an
http.Request body the transport closes it after each attempt. A retry
which then seeks and re-reads the RW would index the freed pages and
panic with "index out of range" in readPage.

Read, Write, ReadFrom, WriteTo and Seek now return ErrClosed (which
wraps io/fs.ErrClosed) after Close, and Close is safe to call more
than once.
2026-08-28 20:45:12 +01:00
..
2025-02-28 11:31:14 +00:00
2021-10-20 22:56:19 +02:00
2025-02-28 11:31:14 +00:00
2025-09-15 12:45:57 +01:00
2025-02-28 11:31:14 +00:00
2025-02-28 11:31:14 +00:00
2024-01-03 12:21:08 +00:00
2025-02-28 11:31:14 +00:00