Welcome! Log In Create A New Profile

Advanced

Waiting Patiently

SplitIce
February 14, 2011 10:46AM
Me and alot of people are waiting patinently for nginx persistant connection
support for http proxy backends. Ive been looking into writing a module
myself but finaly given up (I realised how much I really do hate C).

Please Igor, Please, its probably the most requested feature ever, and it
isnt too complicated for a C expert to add. Basicly this was my methodology
- probably not the most efficient but simple.

1. before backend connect load connections from shared memory, just a simple
array of structs and lock
2. Replace connect with if statemnt, if an open non in use connection is
found in the data use it, else make new connection.
3. If new connection made, add to struct, and save shared memory.
4. Release lock

Of course checking connection status and all that would be recomended, but
this was my plan for basic support (If only I understood the nginx code
better).

So yeah, Igor - Please.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Waiting Patiently

SplitIce February 14, 2011 10:46AM

Re: Waiting Patiently

Maxim Dounin February 14, 2011 12:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 203
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready