changeset 2198:bb2c6b63cb9a

Documented r.responseBody size in njs.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 02 Jul 2018 20:49:15 +0300
parents 03f8a9c5e8ae
children 1d60e4b4ed64
files xml/en/docs/njs/njs_api.xml
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs/njs_api.xml
+++ b/xml/en/docs/njs/njs_api.xml
@@ -677,7 +677,10 @@ holds the request body, read-only
 
 <tag-name><literal>r.responseBody</literal></tag-name>
 <tag-desc>
-holds the <link id="subrequest">subrequest</link> response body, read-only
+holds the <link id="subrequest">subrequest</link> response body, read-only.
+The size of <literal>r.responseBody</literal> is limited by the
+<link doc="../http/ngx_http_core_module.xml" id="subrequest_output_buffer_size"/>
+directive.
 </tag-desc>
 
 <tag-name><literal>r.return(status[, string])</literal></tag-name>