Welcome! Log In Create A New Profile

Advanced

Added limit_rate_after as variable

Miroslav Novy
July 26, 2018 03:18AM
# HG changeset patch
# User Miroslav Nový <miranovy@gmail.com>
# Date 1532521218 0
# Wed Jul 25 12:20:18 2018 +0000
# Node ID f5da29b630f779ab294cc7ff78213a175976424c
# Parent f7e79596baf209151682f2f7d220161c034657ac
Added limit_rate_after as variable

diff -r f7e79596baf2 -r f5da29b630f7 src/http/ngx_http_variables.c
--- a/src/http/ngx_http_variables.c Tue Jul 24 18:46:54 2018 +0300
+++ b/src/http/ngx_http_variables.c Wed Jul 25 12:20:18 2018 +0000
@@ -326,6 +326,11 @@
offsetof(ngx_http_request_t, limit_rate),
NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOCACHEABLE, 0 },

+ { ngx_string("limit_rate_after"), ngx_http_variable_request_set_size,
+ ngx_http_variable_request_get_size,
+ offsetof(ngx_http_request_t, limit_rate_after),
+ NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOCACHEABLE, 0 },
+
{ ngx_string("connection"), NULL,
ngx_http_variable_connection, 0, 0, 0 },
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Added limit_rate_after as variable

Miroslav Novy 484 July 26, 2018 03:18AM

Re: Added limit_rate_after as variable

Maxim Dounin 228 July 26, 2018 09:38AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 166
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready