Today I read through the code of the <a href="http://mdounin.ru/hg/ngx_http_upstream_keepalive/">http://mdounin.ru/hg/ngx_http_upstream_keepalive/</a><br><br>Although my understanding of nginx internals is limited, I did C programming back in my youth. From my understanding of the code there is very little modification needed in order to add HTTP (backend HTTP/1.1) keep alive.<br>
<br>As I see it to complete this the protocol has to be updated to the version of 1.1 and the &quot;Connection: keep-alive&quot; header needs to be added to responses, this would add very basic keep alive support to nginx I would beleive (please do correct me if I am wrong)<br>
<br>To make the modifications howeaver it would be necessary to edit the nginx source (or make a new http backend plugin, which could be mostly copy and paste) -- I would be more specific on this matter but <a href="http://nginx.org">nginx.org</a> is down currently and im not able to get the latest version of the source to look at.<br>
<br>Would it be possible for someone with a knowledge of nginx internals to take a look at this and tell me if I am going about this the correct way? I am going to fiddle a bit and see if I can produce a plugin once <a href="http://nginx.org">nginx.org</a> comes back up.<br>