From bff6fbead81498525ef1366bb5bff31a2c737db5 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Sun, 27 Dec 2020 14:50:24 +0530 Subject: [PATCH] doc/protocols: document cache option Add entry for read_ahead_limit --- doc/protocols.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index de377a9546..00a6665482 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -175,6 +175,16 @@ Caching wrapper for input stream. Cache the input stream to temporary file. It brings seeking capability to live streams. +The accepted options are: +@table @option + +@item read_ahead_limit +Amount in bytes that may be read ahead when seeking isn't supported. Range is -1 to INT_MAX. +-1 for unlimited. Default is 65536. + +@end table + +URL Syntax is @example cache:@var{URL} @end example