# Waiting Patiently

**URL:** <https://www.ruby-forum.com/t/waiting-patiently/203160>\
**Category:** NGINX\
**Created:** [February 14, 2011, 4:46pm UTC](https://www.ruby-forum.com/t/waiting-patiently/203160 "2011-02-14T16:46:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 14, 2011, 4:46pm UTC](https://www.ruby-forum.com/t/waiting-patiently/203160/1 "2011-02-14T16:46:50Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 14, 2011, 6:25pm UTC](https://www.ruby-forum.com/t/waiting-patiently/203160/2 "2011-02-14T18:25:10Z")

</div>

Hello!

On Tue, Feb 15, 2011 at 02:43:57AM +1100, SplitIce wrote:

> 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).

Stay tuned.

Maxim D.
