Tony,

A proxy, in general terms, consists of a server socket and a http client,
it's basic operation is to handle incoming requests to its server socket by
issuing http requests to a backend using the http client. Keeping that in
mind the keep-alive parameter applies to the http request that exists
between a browser and the the proxy's server socket. The request to the
backend in an entirely separate request and has its own parameters. It can
even be, and habitually is, a different protocol (think ssl offloading or a
fast cgi backend).

Thus, unless your proxy uses keep alive on the upstream request, you don't
have to worry about that.
That's my case, the proxy we use is a custom built node http proxy based
solution that does not use keep-alive on the backend requests. It's also
the default for nginx (
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive)



On Thu, Mar 2, 2017 at 8:42 PM, Tony Mobily <[email protected]> wrote:

> Hi,
>
>
> That's an interesting  issue and definitely a problem. In our particular
> case, however, it is not relevant because we have a load balancer and a
> forward routing proxy between the client and the actual server process
> we're attempting to restart.
>
>
> Well actually my bad, we also use a proxy. Specifically, we have the node
> server listen to port 8080 and then nginx to act as a reverse proxy. I
> mainly did it so that I don't run node as roo, and can eventually add more
> servers.
>
> But... How does that mitigate the keep alive problem? Aren't keep alive
> connections proxies so that are still there...?
>
> That's one thing I don't quite understand about the use of nginex and
> node...
>
> Thank you!
>
> Merc.
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules: https://gist.github.com/othiym23/9886289#file-
> moderation-policy-md
> Old group rules: https://github.com/joyent/node/wiki/Mailing-List-
> Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/nodejs/CAOqUQ86JmWJvBEC3xnPVYnJkLQFTJHRdxUOxXCnxaG8%3DkEgesw%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/nodejs/CAOqUQ86JmWJvBEC3xnPVYnJkLQFTJHRdxUOxXCnxaG8%3DkEgesw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAD%2BcU%2B5Rsx9-XbMQXxLNThtS%2BO_SgEWr8QSNhgzRN%3D0mRPMbow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to