HTTP Keepalive @Maxim Dounin
nbubingo at gmail.com
Tue Jul 12 07:48:33 MSD 2011
Are you developing the HTTP/1.1 proxy module? Great news.
I'm just collecting your old patch and developing a new patch for backend
keepalive(https://github.com/yaoweibin/nginx_upstream_keepalive_patch ). I
don't know if there is any serious problem. My Test Set is too small. If you
find any problem, shoot me.
2011/7/12 Maxim Dounin <mdounin at mdounin.ru>
> On Tue, Jul 12, 2011 at 07:06:23AM +1000, SplitIce wrote:
> > Today I read through the code of the
> > http://mdounin.ru/hg/ngx_http_upstream_keepalive/
> > Although my understanding of nginx internals is limited, I did C
> > 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.
> > As I see it to complete this the protocol has to be updated to the
> > of 1.1 and the "Connection: keep-alive" 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)
> The fun starts somewhere near "the protocol has to be updated to
> the version of 1.1". My current diff is something like "7 files
> changed, 688 insertions(+), 29 deletions(-)" and still growing.
> > To make the modifications howeaver it would be necessary to edit the
> > source (or make a new http backend plugin, which could be mostly copy and
> > paste) -- I would be more specific on this matter but nginx.org is down
> > currently and im not able to get the latest version of the source to look
> > at.
> > Would it be possible for someone with a knowledge of nginx internals to
> > 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 nginx.orgcomes
> > back up.
> nginx.org looks perfectly up from here (and isup.me says the
> same), probably it's just you.
> Maxim Dounin
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx