Re: pls. help for adding another parameter to ngx_upstream_server

2013-11-15 Thread Vladimir Homutov
> [emerg] 3848#0: invalid parameter "setfib=5" in > /usr/local/etc/nginx/nginx.conf:18 > > The line 18 of nginx.conf contains setfib=5 (see (a) above.) can you please show full configuration? > This "uscf->flags" has been set in the function >ngx_http_upstream() at line 4434; you are ex

[nginx] Version bump.

2015-04-16 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/e24f1bfdb641 branches: changeset: 6096:e24f1bfdb641 user: Vladimir Homutov date: Thu Apr 16 12:13:51 2015 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] Core: added OpenSSL version information to "nginx -V" ou...

2015-04-16 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/8b7f062a3fe6 branches: changeset: 6097:8b7f062a3fe6 user: Vladimir Homutov date: Thu Apr 16 12:17:41 2015 +0300 description: Core: added OpenSSL version information to "nginx -V" output. diffstat: src/core/ngi

[nginx] Core: the ngx_set_connection_log() macro.

2015-04-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/187aa751ad62 branches: changeset: 6129:187aa751ad62 user: Vladimir Homutov date: Sat Apr 25 22:44:02 2015 +0300 description: Core: the ngx_set_connection_log() macro. The http and stream versions of this macro were identical. diffstat: src

[nginx] Mail: error_log support.

2015-04-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/fc99323a3d79 branches: changeset: 6130:fc99323a3d79 user: Vladimir Homutov date: Fri Feb 20 15:31:37 2015 +0300 description: Mail: error_log support. diffstat: src/mail/ngx_mail.c | 16 +--- src/mail/ngx_mail.h

[nginx] Stream: access module.

2015-06-09 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/8807a2369b1a branches: changeset: 6175:8807a2369b1a user: Vladimir Homutov date: Thu Jun 04 13:04:12 2015 +0300 description: Stream: access module. stream { server { ... allow 127.0.0.1; deny all; } } diffstat

[nginx] Stream: added postconfiguration method to stream modules.

2015-06-09 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/68c106e6fa0a branches: changeset: 6174:68c106e6fa0a user: Vladimir Homutov date: Tue Jun 09 13:00:45 2015 +0300 description: Stream: added postconfiguration method to stream modules. diffstat: src/stream/ngx_stream.c

[nginx] Stream: the "proxy_bind" directive.

2015-06-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/4dcffe43a7ea branches: changeset: 6183:4dcffe43a7ea user: Vladimir Homutov date: Tue Jun 16 09:02:45 2015 +0300 description: Stream: the "proxy_bind" directive. diffstat: src/stream/ngx_stream_proxy_modu

[nginx] Core: store and dump processed configuration.

2015-06-16 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/1b7e246e6b38 branches: changeset: 6187:1b7e246e6b38 user: Vladimir Homutov date: Thu May 14 18:54:27 2015 +0300 description: Core: store and dump processed configuration. If the -T option is passed, additionally to configuration test

[nginx] Core: added support for writing to stdout.

2015-06-16 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/db138b3b645e branches: changeset: 6186:db138b3b645e user: Vladimir Homutov date: Tue Jun 16 15:47:40 2015 +0300 description: Core: added support for writing to stdout. diffstat: src/core/ngx_log.h | 7 +++ src/os/unix/ngx_files.h

[nginx] Documentation: added -T option description to the man page.

2015-06-16 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/f08e80409dfd branches: changeset: 6188:f08e80409dfd user: Vladimir Homutov date: Tue Jun 16 16:28:56 2015 +0300 description: Documentation: added -T option description to the man page. diffstat: docs/man/nginx.8 | 6 -- 1 files changed

[nginx] Version bump.

2015-06-16 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/7863b167dbf9 branches: changeset: 6192:7863b167dbf9 user: Vladimir Homutov date: Tue Jun 16 23:31:31 2015 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] Disabled duplicate http, mail, and stream blocks.

2015-06-16 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/78c06e5e1d76 branches: changeset: 6193:78c06e5e1d76 user: Vladimir Homutov date: Tue Jun 16 23:28:38 2015 +0300 description: Disabled duplicate http, mail, and stream blocks. Such configurations have very limited use, introduce various

[nginx] Stream: connection limiting module.

2015-06-18 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/0dcef374b8bb branches: changeset: 6197:0dcef374b8bb user: Vladimir Homutov date: Thu Jun 18 14:17:30 2015 +0300 description: Stream: connection limiting module. stream { limit_conn_zone $binary_remote_addr zone=perip:1m

[nginx] Stream: the "tcp_nodelay" directive.

2015-08-12 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/7565e056fad6 branches: changeset: 6221:7565e056fad6 user: Vladimir Homutov date: Mon Aug 10 12:14:41 2015 +0300 description: Stream: the "tcp_nodelay" directive. diffstat: src/stream/ngx_stream.h | 1 +

[nginx] Style.

2015-08-12 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/1bd5eb20bd7c branches: changeset: 6222:1bd5eb20bd7c user: Vladimir Homutov date: Wed Aug 12 12:56:59 2015 +0300 description: Style. diffstat: src/stream/ngx_stream_proxy_module.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions

[nginx] Stream: fixed potential error log buffer overrun.

2015-08-13 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/d1f94042c29c branches: changeset: 6223:d1f94042c29c user: Vladimir Homutov date: Thu Aug 13 15:55:21 2015 +0300 description: Stream: fixed potential error log buffer overrun. Found by Duan Jiong . diffstat: src/stream/ngx_stream_handler.c

Re: stream: sub variable len after output log to the buf

2015-08-13 Thread Vladimir Homutov
On Thu, Aug 13, 2015 at 10:17:43AM +0800, Duan Jiong wrote: > # HG changeset patch > # User Duan Jiong > # Date 1439431265 -28800 > # Thu Aug 13 10:01:05 2015 +0800 > # Node ID 1c518d211b6b1acbd3a951218d948bd5ee4bec41 > # Parent 1bd5eb20bd7c25f6cff96190d3ec048e3f3ebeec > stream: sub variable

[nginx] SSL: handled long string truncation in ngx_ssl_error().

2015-10-08 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/2f34ea503ac4 branches: changeset: 6259:2f34ea503ac4 user: Vladimir Homutov date: Wed Oct 07 22:19:42 2015 +0300 description: SSL: handled long string truncation in ngx_ssl_error(). If no space left in buffer after adding formatting symbols

Re: Syslog Unix socket patch

2015-10-27 Thread Vladimir Homutov
On Fri, Oct 23, 2015 at 08:51:56PM +0200, Nils Hermansson wrote: > # HG changeset patch > # User Nils Hermansson <3tn...@gmail.com> > # Date 1445625283 -7200 > # Fri Oct 23 20:34:43 2015 +0200 > # Node ID 868fc6b3bf69be68c597578e749c65698b8c > # Parent ee16fb0db905cfb858a929374cf623cdf1a0

[nginx] Syslog: added "nohostname" option.

2015-10-29 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/a6a2016b8e31 branches: changeset: 6286:a6a2016b8e31 user: Vladimir Homutov date: Mon Oct 26 19:06:42 2015 +0300 description: Syslog: added "nohostname" option. The option disables sending hostname in the syslog message header. This

Re: Syslog Unix socket patch

2015-10-29 Thread Vladimir Homutov
On Tue, Oct 27, 2015 at 08:21:46PM +0100, Nils Hermansson wrote: > Created a new patch as disabling hostame as a configuration option. I've commited a simpler patch that was ready some time ago: http://hg.nginx.org/nginx/rev/a6a2016b8e31 thank you for efforts though! ___

[nginx] Realip: the $realip_remote_addr variable.

2015-11-16 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/cebe43bace93 branches: changeset: 6294:cebe43bace93 user: Ruslan Ermilov date: Mon Nov 16 16:02:02 2015 +0300 description: Realip: the $realip_remote_addr variable. diffstat: src/http/modules/ngx_http_realip_module.c | 72 +++

[nginx] Core: added support for more than 64 CPUs in worker_cpu_...

2016-02-18 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/7296b38f6416 branches: changeset: 6402:7296b38f6416 user: Vladimir Homutov date: Thu Feb 18 13:58:49 2016 +0300 description: Core: added support for more than 64 CPUs in worker_cpu_affinity. diffstat: src/core/nginx.c| 73

[nginx] Stream: additional logging for UDP.

2016-03-23 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/a01e315b3a78 branches: changeset: 6461:a01e315b3a78 user: Vladimir Homutov date: Fri Mar 18 19:53:22 2016 +0300 description: Stream: additional logging for UDP. diffstat: src/stream/ngx_stream_handler.c | 8 +--- src/stream

[nginx] Variable $request_id.

2016-04-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/59f8f2dd8b31 branches: changeset: 6531:59f8f2dd8b31 user: Vladimir Homutov date: Tue Apr 26 19:31:46 2016 +0300 description: Variable $request_id. The variable contains text representation based on random data, usable as a unique request

[nginx] Stream: added preconfiguration step.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/2f41d383c9c7 branches: changeset: 6606:2f41d383c9c7 user: Vladimir Homutov date: Wed Jun 15 15:10:24 2016 +0300 description: Stream: added preconfiguration step. diffstat: src/stream/ngx_stream.c| 19

[nginx] Stream: got rid of pseudo variables.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/d5b5866c06c4 branches: changeset: 6610:d5b5866c06c4 user: Vladimir Homutov date: Wed Jun 29 12:46:12 2016 +0300 description: Stream: got rid of pseudo variables. Stream limit_conn, upstream_hash and proxy modules now use complex values

[nginx] Stream: variables and script.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/c70b7f4537e1 branches: changeset: 6607:c70b7f4537e1 user: Vladimir Homutov date: Mon Jul 04 16:37:36 2016 +0300 description: Stream: variables and script. This is a port of corresponding http code with unrelated features excluded. diffstat

[nginx] Stream: core module variables.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/eb4293155e87 branches: changeset: 6608:eb4293155e87 user: Vladimir Homutov date: Tue Jun 14 18:28:14 2016 +0300 description: Stream: core module variables. diffstat: src/stream/ngx_stream_variables.c | 350

[nginx] Stream: map module.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/73543af69f14 branches: changeset: 6609:73543af69f14 user: Vladimir Homutov date: Wed Jun 29 12:46:12 2016 +0300 description: Stream: map module. diffstat: auto/modules |8 + auto/options |3

[nginx] Stream: return module.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/4c4ac9e335c4 branches: changeset: 6612:4c4ac9e335c4 user: Roman Arutyunyan date: Wed May 18 22:08:49 2016 +0300 description: Stream: return module. diffstat: auto/modules |8 + auto/options

[nginx] Stream: SSL-related variables.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/85e7bcb37d6b branches: changeset: 6611:85e7bcb37d6b user: Vladimir Homutov date: Wed Jun 29 12:52:52 2016 +0300 description: Stream: SSL-related variables. diffstat: src/stream/ngx_stream_ssl_module.c | 115

[nginx] Stream: resolver.

2016-07-07 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/070c31a482e6 branches: changeset: 6618:070c31a482e6 user: Vladimir Homutov date: Thu Jul 07 13:15:31 2016 +0300 description: Stream: resolver. diffstat: src/stream/ngx_stream.h | 3 + src/stream/ngx_stream_core_module.c | 60

[nginx] Stream: individual build options for modules.

2016-07-12 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/7cbc6bc63228 branches: changeset: 6628:7cbc6bc63228 user: Vladimir Homutov date: Tue Jul 12 12:38:01 2016 +0300 description: Stream: individual build options for modules. diffstat: auto/modules | 18 -- 1 files changed, 16

[nginx] Stream: geoip module.

2016-07-12 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/558db057adaa branches: changeset: 6630:558db057adaa user: Vladimir Homutov date: Tue Jul 12 17:34:43 2016 +0300 description: Stream: geoip module. diffstat: auto/modules | 10 + auto/options

[nginx] Stream: geo module.

2016-07-12 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/80875b75d27e branches: changeset: 6631:80875b75d27e user: Vladimir Homutov date: Thu Jun 30 16:12:50 2016 +0300 description: Stream: geo module. diffstat: auto/modules |10 + auto/options

[nginx] Stream: split_clients module.

2016-07-12 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/787dcc15b802 branches: changeset: 6632:787dcc15b802 user: Vladimir Homutov date: Tue Jul 12 17:34:52 2016 +0300 description: Stream: split_clients module. diffstat: auto/modules | 10 + auto/options

[nginx] Stream: style.

2016-07-12 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/8ed51b02f655 branches: changeset: 6629:8ed51b02f655 user: Vladimir Homutov date: Tue Jul 12 17:34:40 2016 +0300 description: Stream: style. diffstat: src/stream/ngx_stream_limit_conn_module.c | 2 +- src/stream

[nginx] Stream: variables in proxy_pass and proxy_ssl_name.

2016-07-20 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/9757cffc1e2f branches: changeset: 6643:9757cffc1e2f user: Vladimir Homutov date: Tue Jun 14 18:29:46 2016 +0300 description: Stream: variables in proxy_pass and proxy_ssl_name. diffstat: src/stream/ngx_stream_proxy_module.c | 390

[nginx] Fixed regex captures handling without PCRE.

2016-07-22 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/af642539cd53 branches: changeset: 6644:af642539cd53 user: Vladimir Homutov date: Wed Jul 06 14:33:40 2016 +0300 description: Fixed regex captures handling without PCRE. If PCRE is disabled, captures were treated as normal variables in

[nginx] Version bump.

2016-07-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/0b4249f975eb branches: changeset: 6647:0b4249f975eb user: Vladimir Homutov date: Tue Jul 26 19:07:18 2016 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] Stream: fixed build without stream_ssl_module (ticket #1032).

2016-07-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/d43ee392e825 branches: changeset: 6648:d43ee392e825 user: Vladimir Homutov date: Tue Jul 26 19:34:12 2016 +0300 description: Stream: fixed build without stream_ssl_module (ticket #1032). diffstat: src/stream/ngx_stream_proxy_module.c | 4

[nginx] Upstream: the $upstream_bytes_received variable.

2016-08-10 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/c131f20c9562 branches: changeset: 6654:c131f20c9562 user: Vladimir Homutov date: Wed Aug 10 16:46:39 2016 +0300 description: Upstream: the $upstream_bytes_received variable. Unlike $upstream_response_length that only counts the body size, the

[nginx] Stream: the $session_time variable.

2016-08-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/164a0824ce20 branches: changeset: 6669:164a0824ce20 user: Vladimir Homutov date: Fri Aug 26 15:33:04 2016 +0300 description: Stream: the $session_time variable. The variable keeps time spent on processing the stream session. diffstat: src

[nginx] Stream: the $protocol variable.

2016-08-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/c6372a40c2a7 branches: changeset: 6670:c6372a40c2a7 user: Vladimir Homutov date: Fri Aug 26 15:33:07 2016 +0300 description: Stream: the $protocol variable. The variable keeps protocol used by the client, "TCP" or "UDP&quo

[nginx] Stream: the $bytes_received variable.

2016-08-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/5e2821c2de46 branches: changeset: 6668:5e2821c2de46 user: Vladimir Homutov date: Fri Aug 26 15:33:02 2016 +0300 description: Stream: the $bytes_received variable. The variable keeps the number of bytes received from the client. diffstat

[nginx] Stream: $upstream_bytes_sent and $upstream_bytes_received.

2016-09-02 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/df3a7c029dec branches: changeset: 6676:df3a7c029dec user: Vladimir Homutov date: Fri Sep 02 18:27:08 2016 +0300 description: Stream: $upstream_bytes_sent and $upstream_bytes_received. diffstat: src/stream/ngx_stream_proxy_module.c | 14

[nginx] Stream: the $status variable.

2016-09-02 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/38143d1abdec branches: changeset: 6674:38143d1abdec user: Roman Arutyunyan date: Thu Aug 11 20:22:23 2016 +0300 description: Stream: the $status variable. The stream session status is one of the following: 200 - normal completion 403 - access

[nginx] Stream: the $upstream_addr variable.

2016-09-02 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/ab9b4fd8c5b7 branches: changeset: 6675:ab9b4fd8c5b7 user: Vladimir Homutov date: Fri Sep 02 18:27:05 2016 +0300 description: Stream: the $upstream_addr variable. Keeps the full address of the upstream server. If several servers were contacted

[nginx] Stream: upstream response time variables.

2016-09-02 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/c02290241cbe branches: changeset: 6677:c02290241cbe user: Vladimir Homutov date: Fri Sep 02 18:27:12 2016 +0300 description: Stream: upstream response time variables. The $upstream_connect_time, $upstream_first_byte_time and

[nginx] Stream: log module.

2016-09-05 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/0125b151c9a5 branches: changeset: 6678:0125b151c9a5 user: Vladimir Homutov date: Mon Sep 05 17:50:16 2016 +0300 description: Stream: log module. diffstat: auto/modules | 2 + src/stream/ngx_stream.h

[nginx] Stream: filters.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/56fc55e32f23 branches: changeset: 6692:56fc55e32f23 user: Roman Arutyunyan date: Thu Sep 15 14:55:46 2016 +0300 description: Stream: filters. diffstat: auto/modules|6 +- auto/sources

[nginx] Stream: ssl_preread module.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/060d71292b69 branches: changeset: 6695:060d71292b69 user: Vladimir Homutov date: Thu Sep 15 14:56:51 2016 +0300 description: Stream: ssl_preread module. The ssl_preread module extracts information from the SSL Client Hello message without

[nginx] Stream: preread phase.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/ea9dfe2f62e7 branches: changeset: 6694:ea9dfe2f62e7 user: Vladimir Homutov date: Thu Sep 15 14:56:02 2016 +0300 description: Stream: preread phase. In this phase, head of a stream is read and analysed before proceeding to the content phase

[nginx] Stream: phases.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/3908156a51fa branches: changeset: 6693:3908156a51fa user: Roman Arutyunyan date: Thu Sep 15 14:55:54 2016 +0300 description: Stream: phases. diffstat: src/stream/ngx_stream.c | 110 src/stream/ngx_stream.h

[nginx] Version bump.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/4bce3edfac2c branches: changeset: 6691:4bce3edfac2c user: Vladimir Homutov date: Thu Sep 15 14:56:26 2016 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] Stream ssl_preread: removed internal macro.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/e83540f825cd branches: changeset: 6696:e83540f825cd user: Vladimir Homutov date: Thu Sep 15 15:36:02 2016 +0300 description: Stream ssl_preread: removed internal macro. The ngx_log_debug() macro is internal and should not be used. diffstat

[nginx] Upstream hash: fixed missing upstream name initialization.

2016-09-16 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/52367732bcbc branches: changeset: 6697:52367732bcbc user: Vladimir Homutov date: Fri Sep 16 15:13:24 2016 +0300 description: Upstream hash: fixed missing upstream name initialization. diffstat: src/http/modules

[nginx] Core: show file contents only once while dumping configuration.

2016-10-19 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/1bf4f21b1b72 branches: changeset: 6776:1bf4f21b1b72 user: Vladimir Homutov date: Tue Oct 18 16:33:38 2016 +0300 description: Core: show file contents only once while dumping configuration. Files are considered the same if the path used by

[nginx] Stream: client SSL certificates verification support.

2016-12-20 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/41cb1b64561d branches: changeset: 6850:41cb1b64561d user: Vladimir Homutov date: Tue Dec 20 12:05:14 2016 +0300 description: Stream: client SSL certificates verification support. New directives: "ssl_verify_client", "s

[nginx] Stream: avoid infinite loop in case of socket read error.

2017-01-11 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/ee3645078759 branches: changeset: 6868:ee3645078759 user: Vladimir Homutov date: Wed Jan 11 12:01:56 2017 +0300 description: Stream: avoid infinite loop in case of socket read error. diffstat: src/stream/ngx_stream_proxy_module.c | 5

[nginx] Stream: fixed handling of non-ssl sessions.

2017-01-19 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/0a08a8babf53 branches: changeset: 6870:0a08a8babf53 user: Vladimir Homutov date: Thu Jan 19 16:17:05 2017 +0300 description: Stream: fixed handling of non-ssl sessions. A missing check could cause ngx_stream_ssl_handler() to be applied to a

[nginx] Stream: client SSL certificates were not checked in some cases.

2017-01-19 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/1818acd8442f branches: changeset: 6871:1818acd8442f user: Vladimir Homutov date: Thu Jan 19 16:20:07 2017 +0300 description: Stream: client SSL certificates were not checked in some cases. If ngx_stream_ssl_init_connection() succeeded

[nginx] Version bump.

2017-01-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/b14d4e5a123f branches: changeset: 6880:b14d4e5a123f user: Vladimir Homutov date: Thu Jan 26 11:44:55 2017 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] Upstream: removed compatibility shims from ngx_http_upstream_t.

2017-01-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/7113b9b2dd6c branches: changeset: 6881:7113b9b2dd6c user: Vladimir Homutov date: Wed Jan 25 15:39:22 2017 +0300 description: Upstream: removed compatibility shims from ngx_http_upstream_t. The type is no longer modified in NGINX Plus

nginx development guide

2017-02-13 Thread Vladimir Homutov
Hello all! We are glad to share with first results of our ongoing efforts to create documentation for nginx developers: the development guide document [1]. The guide is not yet 100% complete and more parts to follow. Of course, your feedback is welcome. [1] http://nginx.org/en/docs/dev/developm

Re: nginx development guide

2017-02-13 Thread Vladimir Homutov
On Mon, Feb 13, 2017 at 07:24:05PM +0300, Andrey Kulikov wrote: > Hooray! > > What the doctor ordered. > Looking forward for more parts, especially dedicated to chains > management and corresponding API description. > > So far saw a possible typo: > In section "I/O events": > > that the functions n

[nginx] Mail: configurable socket buffer sizes.

2017-04-13 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/6c13008ad503 branches: changeset: 6976:6c13008ad503 user: Vladimir Homutov date: Mon Apr 03 17:30:34 2017 +0300 description: Mail: configurable socket buffer sizes. The "rcvbuf" and "sndbuf" parameters are now supp

[nginx] Stream: configurable socket buffer sizes.

2017-04-13 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/d7ce41bdf050 branches: changeset: 6975:d7ce41bdf050 user: Vladimir Homutov date: Mon Apr 03 17:29:19 2017 +0300 description: Stream: configurable socket buffer sizes. The "rcvbuf" and "sndbuf" parameters are now supp

Re: [PATCH] Add RFC5424 syslog support

2017-05-25 Thread Vladimir Homutov
On Fri, May 26, 2017 at 11:20:01AM +0800, Sepherosa Ziehau wrote: > Hi all, > > Any update on this? > Hi, nginx deliberately supports just RFC 3164 and not any later version to keep things simple. supporting just parts of later standard seems quite strange and misleading to me. __

Re: nginx development guide

2017-06-07 Thread Vladimir Homutov
07.06.2017 17:00, 胡聪 (hucc) пишет: > Hello, > > There are two possible errors in > http://nginx.org/en/docs/dev/development_guide.html#http_load_balancing > >> init(r, us) — initializes per-request ngx_http_upstream_peer_t.peer (not to >> be confused with the >> ngx_http_upstream_srv_conf_t.peer

Re: Help developing a block directive

2017-06-28 Thread Vladimir Homutov
On 29.06.2017 00:15, Joseph Spencer wrote: > Hello, > > I'm trying to support this in my nginx.conf: > > my_custom_module_block { > directive_for_my_custom_module_block "Some value"; > } > > Here is how I'm setting up the commands: > > static ngx_command_t ngx_my_custom_module_commands[] =

[nginx] Core: added a stub for additional zone configuration.

2018-02-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/fc4d82c13c04 branches: changeset: 7205:fc4d82c13c04 user: Vladimir Homutov date: Thu Feb 15 16:08:05 2018 +0300 description: Core: added a stub for additional zone configuration. diffstat: src/core/ngx_cycle.h | 1 + 1 files changed, 1

[nginx] Modules compatibility: additional upstream metrics.

2018-02-27 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/d0d32b33167d branches: changeset: 7219:d0d32b33167d user: Vladimir Homutov date: Thu Feb 22 17:25:43 2018 +0300 description: Modules compatibility: additional upstream metrics. diffstat: src/http/ngx_http_upstream.h | 1 + 1 files changed

Re: Antw: [PATCH 1 of 2] Access log: Support for disabling escaping

2018-02-28 Thread Vladimir Homutov
tings to avoid this), please take a look. See also ticket 1450: https://trac.nginx.org/nginx/ticket/1450 # HG changeset patch # User Vladimir Homutov # Date 1519834295 -10800 # Wed Feb 28 19:11:35 2018 +0300 # Node ID d420ce6b46768ea7eb23bdec84f99221229

[nginx] Access log: support for disabling escaping (ticket #1450).

2018-03-02 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/265c29b0b8b8 branches: changeset: 7223:265c29b0b8b8 user: Vladimir Homutov date: Thu Mar 01 11:42:55 2018 +0300 description: Access log: support for disabling escaping (ticket #1450). Based on patches by Johannes Baiter and Calin Don

[nginx] Core: added processing of version 2 of the PROXY protocol.

2018-03-26 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/416953ef0428 branches: changeset: 7251:416953ef0428 user: Vladimir Homutov date: Thu Mar 22 15:55:28 2018 +0300 description: Core: added processing of version 2 of the PROXY protocol. The protocol used on inbound connection is auto-detected

[nginx] Core: style.

2018-03-27 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/7bdab16c55f1 branches: changeset: 7252:7bdab16c55f1 user: Vladimir Homutov date: Tue Mar 27 18:39:38 2018 +0300 description: Core: style. diffstat: src/core/ngx_proxy_protocol.c | 29 ++--- 1 files changed, 14

Re: Access Nginx variables from HTTP modules

2018-03-29 Thread Vladimir Homutov
On Thu, Mar 29, 2018 at 04:17:02PM +0100, Paulo Silva wrote: > Hi everyone, > can you point me the right way to access Nginx variables from my HTTP module? > > I am looking for a way to read the $request_id value from within one > of my modules' functions. > http://nginx.org/en/docs/dev/developmen

[nginx] Core: fixed build, broken by 63e91f263a49.

2018-04-02 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/1fd992589ffe branches: changeset: 7254:1fd992589ffe user: Vladimir Homutov date: Mon Apr 02 20:38:43 2018 +0300 description: Core: fixed build, broken by 63e91f263a49. Both Solaris and Windows define "s_addr" as a macro. diffstat:

Re: nginx development guide

2018-04-23 Thread Vladimir Homutov
13.02.2017 12:38, Vladimir Homutov пишет: > Hello all! > > We are glad to share with first results of our ongoing efforts to create > documentation for nginx developers: the development guide document [1]. > > The guide is not yet 100% complete and more parts to follow. &g

[nginx] Syslog: re-open syslog udp socket on send error (ticket #1477).

2018-05-08 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/fa0e093b64d7 branches: changeset: 7272:fa0e093b64d7 user: Vladimir Homutov date: Tue May 08 19:35:56 2018 +0300 description: Syslog: re-open syslog udp socket on send error (ticket #1477). Previously, only unix domain sockets were reopened to

[nginx] Syslog: install cleanup handler only once.

2018-05-23 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/7f9935f07fe9 branches: changeset: 7277:7f9935f07fe9 user: Vladimir Homutov date: Mon May 14 22:50:57 2018 +0300 description: Syslog: install cleanup handler only once. If a socket was re-opened due to an error (02c2352d5b01 and fa0e093b64d7

[nginx] Upstream: ngx_http_upstream_random module.

2018-06-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/f2396ecf608b branches: changeset: 7301:f2396ecf608b user: Vladimir Homutov date: Fri Jun 15 11:46:14 2018 +0300 description: Upstream: ngx_http_upstream_random module. The module implements random load-balancing algorithm with optional second

[nginx] Upstream: fixed request chain traversal (ticket #1618).

2018-08-24 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/15ea84e65d07 branches: changeset: 7341:15ea84e65d07 user: Vladimir Homutov date: Fri Aug 24 12:19:37 2018 +0300 description: Upstream: fixed request chain traversal (ticket #1618). The problem does not manifest itself currently, because in

[nginx] Version bump.

2018-10-03 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/aa1c9f846567 branches: changeset: 7370:aa1c9f846567 user: Vladimir Homutov date: Wed Oct 03 17:02:44 2018 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] Upstream: proxy_socket_keepalive and friends.

2018-10-03 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/8b68d50090e4 branches: changeset: 7371:8b68d50090e4 user: Vladimir Homutov date: Wed Oct 03 14:08:51 2018 +0300 description: Upstream: proxy_socket_keepalive and friends. The directives enable the use of the SO_KEEPALIVE option on upstream

[nginx] Stream: session completion check code moved to a separate function.

2018-11-13 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/04ff25798002 branches: changeset: 7392:04ff25798002 user: Vladimir Homutov date: Mon Nov 12 12:05:03 2018 +0300 description: Stream: session completion check code moved to a separate function. The code refactored to simplify the

[nginx] Stream: proxy_requests directive.

2018-11-13 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/4698cede59ff branches: changeset: 7393:4698cede59ff user: Vladimir Homutov date: Mon Nov 12 16:29:30 2018 +0300 description: Stream: proxy_requests directive. The directive allows to drop binding between a client and existing UDP stream

[nginx] Version bump.

2018-11-13 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/2e7c4c3b0644 branches: changeset: 7390:2e7c4c3b0644 user: Vladimir Homutov date: Tue Nov 13 14:42:47 2018 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] Stream: fixed possible use of a freed connection.

2018-11-13 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/27559d4a5151 branches: changeset: 7391:27559d4a5151 user: Vladimir Homutov date: Wed Nov 07 13:22:14 2018 +0300 description: Stream: fixed possible use of a freed connection. The session handler may result in session termination, thus a

[nginx] Upstream: removed unused ngx_http_upstream_t.timeout field.

2018-11-21 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/e8bdd322d7a6 branches: changeset: 7396:e8bdd322d7a6 user: Vladimir Homutov date: Wed Nov 21 13:40:36 2018 +0300 description: Upstream: removed unused ngx_http_upstream_t.timeout field. diffstat: src/http/ngx_http_upstream.h | 2 -- 1 files

[nginx] Upstream: revised upstream response time variables.

2018-11-21 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/860d3907da1c branches: changeset: 7397:860d3907da1c user: Vladimir Homutov date: Wed Nov 21 13:40:40 2018 +0300 description: Upstream: revised upstream response time variables. Variables now do not depend on presence of the HTTP status code in

Re: Start nginx with all servers weighted=0

2018-12-19 Thread Vladimir Homutov
On 19.12.2018 22:47, Pablo Fischer wrote: > Hi all, > > Sorry for posting to nginx-devel but looking to see if I'm missing any > details. I'm building a service discovery integration on top of our > Nginx, things work fine but there are two caveats: > > - Nginx does not allow you to start with an e

[nginx] Autoindex: fixed possible integer overflow on 32-bit systems.

2018-12-25 Thread Vladimir Homutov
details: https://hg.nginx.org/nginx/rev/a91b93f3f3e7 branches: changeset: 7435:a91b93f3f3e7 user: Vladimir Homutov date: Tue Dec 25 12:59:24 2018 +0300 description: Autoindex: fixed possible integer overflow on 32-bit systems. diffstat: src/http/modules

[nginx] Version bump.

2019-01-17 Thread Vladimir Homutov
details: https://hg.nginx.org/nginx/rev/134343f2a877 branches: changeset: 7438:134343f2a877 user: Vladimir Homutov date: Thu Jan 17 14:31:01 2019 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] Added the ngx_http_test_required_predicates() function.

2019-01-17 Thread Vladimir Homutov
details: https://hg.nginx.org/nginx/rev/5efc23d83bc2 branches: changeset: 7439:5efc23d83bc2 user: Vladimir Homutov date: Thu Jan 17 14:31:04 2019 +0300 description: Added the ngx_http_test_required_predicates() function. In contrast to ngx_http_test_predicates(), it requires all

[nginx] Core: enabled "include" in any context (ticket #1615).

2019-04-24 Thread Vladimir Homutov
details: https://hg.nginx.org/nginx/rev/b7a7c02aea3a branches: changeset: 7502:b7a7c02aea3a user: Vladimir Homutov date: Tue Apr 09 11:40:20 2019 +0300 description: Core: enabled "include" in any context (ticket #1615). diffstat: src/core/ngx_conf_file.h | 2 +- 1 fil

[nginx] Version bump.

2019-04-24 Thread Vladimir Homutov
details: https://hg.nginx.org/nginx/rev/88fd9f3976f6 branches: changeset: 7501:88fd9f3976f6 user: Vladimir Homutov date: Wed Apr 24 13:41:29 2019 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

  1   2   3   >