[njs] Fixed building on modern Linux kernels.

2016-10-28 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/a1cd4104df67 branches: changeset: 229:a1cd4104df67 user: Igor Sysoev date: Sat Oct 29 00:04:29 2016 +0300 description: Fixed building on modern Linux kernels. diffstat: nxt/nxt_random.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[njs] Added missing includes.

2016-10-28 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/9b37882ad552 branches: changeset: 228:9b37882ad552 user: Piotr Sikora date: Fri Oct 28 19:29:38 2016 +0300 description: Added missing includes. Previously, most objects were compiled without any features detected by the ./configure script. Sign

Re: [PATCH] Proxy: support variables for proxy_method directive

2016-10-28 Thread Dmitry Lazurkin
Hello, Maxim. On 10/26/2016 08:38 PM, Maxim Dounin wrote: > Such a test will fail on versions without variables support in > proxy_method. This is a problem, as the same test suite is used > to test both mainline and stable. To address this we use > conditional TODO tests with version checked

Re: [PATCH] [PATCH] Proxy: support variables for proxy_method directive

2016-10-28 Thread Dmitry Lazurkin
Hello, Maxim. Thank you! (: On 10/26/2016 08:32 PM, Maxim Dounin wrote: > Hello! > > On Sat, Oct 22, 2016 at 12:31:16AM +0300, dila...@gmail.com wrote: > >> # HG changeset patch >> # User Dmitry Lazurkin >> # Date 1476631441 -10800 >> # Sun Oct 16 18:24:01 2016 +0300 >> # Node ID 9fbfc0ccb2

Re: [PATCH] Event pipe: delete useless code.

2016-10-28 Thread Maxim Dounin
Hello! On Fri, Oct 28, 2016 at 04:41:49PM +0800, 胡聪 (hucc) wrote: > It is useless code. There is no need to judge whether the first buf > is partially filled, just add the free buf after the head. Using the same buffer if it is possible to do so can be beneficial from performance point of view

[njs] String.prototype.repeat() method.

2016-10-28 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/2cc08001fc78 branches: changeset: 227:2cc08001fc78 user: Valentin Bartenev date: Fri Oct 28 14:20:23 2016 +0300 description: String.prototype.repeat() method. diffstat: njs/njs_string.c | 55

[njs] String.prototype.trim() method.

2016-10-28 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/5de122a4031a branches: changeset: 226:5de122a4031a user: Igor Sysoev date: Fri Oct 28 13:32:33 2016 +0300 description: String.prototype.trim() method. In collaboration with Valentin Bartenev. diffstat: njs/njs_string.c | 136 +

[PATCH] Event pipe: delete useless code.

2016-10-28 Thread ???? (hucc)
Hello! It is useless code. There is no need to judge whether the first buf is partially filled, just add the free buf after the head. # HG changeset patch # User hucongcong # Date 1477643468 -28800 # Fri Oct 28 16:31:08 2016 +0800 # Node ID 6729731c835d800aa690d8d3a362b0c989885ab3