Re: Using single persistent socket to send subrequests

2022-01-28 Thread Maxim Dounin
Hello! On Fri, Jan 28, 2022 at 06:13:45AM +, Devashi Tandon wrote: > Was wondering if this question is more suited for the > development forum, since I didn't receive any response on the > user forum. Repeating the question below: You've got a response, see here: https://mailman.nginx.org

Re: Using single persistent socket to send subrequests

2022-01-27 Thread Devashi Tandon
{ server 172.20.10.6:9006; keepalive 4; } } Could you please help on what we are missing? Thanks, Devashi Date: Mon, 24 Jan 2022 17:56:33 +0300 From: "Sergey A. Osokin" Subject: Re: Using single persistent socket to send subrequests To: ng...@nginx.

Re: Using single persistent socket to send subrequests

2022-01-12 Thread Devashi Tandon
eatly appreciated. Thanks, Devashi From: nginx-devel on behalf of Maxim Dounin Sent: Thursday, December 30, 2021 1:47 PM To: nginx-devel@nginx.org Subject: Re: Using single persistent socket to send subrequests Hello! On Thu, Dec 30, 2021 at 07:58:33AM +, De

Re: Using single persistent socket to send subrequests

2021-12-30 Thread Maxim Dounin
Hello! On Thu, Dec 30, 2021 at 07:58:33AM +, Devashi Tandon wrote: > upstream ext-authz-upstream-server { > server 172.20.10.6:9006; > keepalive 4; > } [...] > However, when I create 100 simultaneous connections, they are > all sent via a different s

Re: Using single persistent socket to send subrequests

2021-12-29 Thread Devashi Tandon
xim Dounin Sent: Wednesday, December 29, 2021 8:07 PM To: nginx-devel@nginx.org Subject: Re: Using single persistent socket to send subrequests Hello! On Wed, Dec 29, 2021 at 06:30:11AM +, Devashi Tandon wrote: > We have a auth module in our code that sends requests to a > server and wa

Re: Using single persistent socket to send subrequests

2021-12-29 Thread Maxim Dounin
Hello! On Wed, Dec 29, 2021 at 06:30:11AM +, Devashi Tandon wrote: > We have a auth module in our code that sends requests to a > server and waits for response to approve the request before > proceeding to forward the request to a proxy server. > > We use the function ngx_http_post_request

Using single persistent socket to send subrequests

2021-12-28 Thread Devashi Tandon
Hi, We have a auth module in our code that sends requests to a server and waits for response to approve the request before proceeding to forward the request to a proxy server. We use the function ngx_http_post_request to post the subrequest. As I understand, this function adds the request to a