[PATCH] Fix the $r request object methods order

Maxim Dounin mdounin at mdounin.ru
Mon Feb 2 17:59:58 UTC 2026


Hello!

On Mon, Feb 02, 2026 at 05:59:18PM +0300, Sergey A. Osokin wrote:

> # HG changeset patch
> # User Sergey A. Osokin <osa at FreeBSD.org.ru>
> # Date 1770044238 -10800
> #      Mon Feb 02 17:57:18 2026 +0300
> # Node ID 6589496596a1a7c180c66972e43ceca26504e66e
> # Parent  c6cbc552bd6a56e79276518253637c71628cbe16
> Fix the $r request object methods order

Should be:

Fixed the $r request object methods order.

Note "Fixed" and the trailing dot.

Also, it might be good idea to explicitly mention the perl module, 
so the change would be more obvious when looking through the 
repository history.  Something like:

Fixed order of perl request object methods.

YMMV.

> 
> diff -r c6cbc552bd6a -r 6589496596a1 xml/en/docs/http/ngx_http_perl_module.xml
> --- a/xml/en/docs/http/ngx_http_perl_module.xml	Tue Dec 16 16:20:31 2025 +0300
> +++ b/xml/en/docs/http/ngx_http_perl_module.xml	Mon Feb 02 17:57:18 2026 +0300
> @@ -219,16 +219,31 @@

For changes which aren't language-specific (like fixing spelling) 
the document revision should be bumped, as seen in the "rev" 
attribute of the module tag.  This ensures that translations (or, 
rather, translation, since we have only one now) are marked as 
outdated, and can be updated.

Also, it is usually a good idea to update Russian translation 
at the same time if possible.

>  <para>
>  <list type="tag">
>  
> +<tag-name><literal>$r->allow_ranges</literal></tag-name>
> +<tag-desc>
> +enables the use of byte ranges when sending responses.
> +</tag-desc>
> +

[...]

Otherwise looks good.

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx-devel mailing list