Welcome! Log In Create A New Profile

Advanced

Re: Variable scope in javascript module

Maxim Konovalov
October 30, 2018 06:32PM
On 31/10/2018 01:27, Valentin V. Bartenev wrote:
> On Wednesday, 31 October 2018 00:55:20 MSK you wrote:
> [..]
>
>> However, when i run it, the result is as below :
>> The suprising thing is the order it is logged : it seems : as we go for
>> async, perhaps both request are started at the same time so each one get a
>> starting of 403 (no yet updated). Could this be the pb ? What could be the
>> solution ? Run subrequest without giving the done function as callback and
>> directly test the return status ?
> [..]
>
> Subrequests are async. That allows you to do a lot of interesting stuff,
> like in this example where two subrequests are run in parallel:
> http://nginx.org/en/docs/njs/examples.html#fast_response
>
Some additional stuff to this topic

https://github.com/nginxinc/nginx-openid-connect

--
Maxim Konovalov
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Variable scope in javascript module

alweiss October 26, 2018 02:16AM

Re: Variable scope in javascript module

Dmitry Volyntsev October 26, 2018 05:04AM

Re: Variable scope in javascript module

alweiss October 30, 2018 12:07PM

Re: Variable scope in javascript module

alweiss October 30, 2018 12:58PM

Re: Variable scope in javascript module

Dmitry Volyntsev October 30, 2018 01:10PM

Re: Variable scope in javascript module

Valentin V. Bartenev October 30, 2018 01:12PM

Re: Variable scope in javascript module

alweiss October 30, 2018 05:55PM

Re: Variable scope in javascript module

Valentin V. Bartenev October 30, 2018 06:28PM

Re: Variable scope in javascript module

Maxim Konovalov October 30, 2018 06:32PM

Re: Variable scope in javascript module

alweiss October 30, 2018 07:22PM

Re: Variable scope in javascript module

alweiss October 30, 2018 06:47PM

Re: Variable scope in javascript module

Valentin V. Bartenev October 30, 2018 07:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 62
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