Re: Using round robin for load balancing if hash key is empty

2019-05-27 Thread Maxim Dounin
Hello! On Thu, May 23, 2019 at 04:49:32PM +0300, Roman Arutyunyan wrote: [...] > # HG changeset patch > # User Niklas Keller > # Date 1558614458 -10800 > # Thu May 23 15:27:38 2019 +0300 > # Node ID 34dff919b948dd9652b24459e6a40c303058df09 > # Parent 234373adb2ce6023e69e527cbf2b60adf70b11

[nginx] Upstream hash: fall back to round-robin if hash key is empty.

2019-05-27 Thread Roman Arutyunyan
details: https://hg.nginx.org/nginx/rev/d964b0aee8e7 branches: changeset: 7513:d964b0aee8e7 user: Niklas Keller date: Thu May 23 16:49:22 2019 +0300 description: Upstream hash: fall back to round-robin if hash key is empty. diffstat: src/http/modules/ngx_http_upstream_hash_module.

[nginx] Version bump.

2019-05-27 Thread Roman Arutyunyan
details: https://hg.nginx.org/nginx/rev/99ef05560b96 branches: changeset: 7512:99ef05560b96 user: Roman Arutyunyan date: Mon May 27 19:47:50 2019 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 line

Re: Using round robin for load balancing if hash key is empty

2019-05-27 Thread Roman Arutyunyan
Hello Niklas, On Thu, May 23, 2019 at 07:54:46PM +0200, Niklas Keller wrote: > > > I'd like to propose falling back to round robin if the hash key is > > > empty. This allows using hashed cookie values for sticky sessions > > > while using round robin for all requests that do not carry any session

[njs] Fixed format of the reference exception.

2019-05-27 Thread Alexander Borisov
details: https://hg.nginx.org/njs/rev/7ae4f639fa43 branches: changeset: 985:7ae4f639fa43 user: Alexander Borisov date: Mon May 27 19:06:34 2019 +0300 description: Fixed format of the reference exception. Previously, it did not include filename. diffstat: njs/njs_generator.c

[njs] Added njs_value_property_set() function.

2019-05-27 Thread Alexander Borisov
details: https://hg.nginx.org/njs/rev/4572a6e64bf1 branches: changeset: 986:4572a6e64bf1 user: Alexander Borisov date: Thu May 23 17:39:22 2019 +0300 description: Added njs_value_property_set() function. diffstat: njs/njs_object.h |2 + njs/njs_vm.c | 254

Re: Using round robin for load balancing if hash key is empty

2019-05-27 Thread Niklas Keller
> Committed, thanks. > > https://hg.nginx.org/nginx/rev/d964b0aee8e7 I've just seen it, thanks! \o/ ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel