Welcome! Log In Create A New Profile

Advanced

HTTP Keepalive @Maxim Dounin

SplitIce
July 11, 2011 05:08PM
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 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.

As I see it to complete this the protocol has to be updated to the version
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)

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 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 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 nginx.org comes
back up.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

HTTP Keepalive @Maxim Dounin

SplitIce July 11, 2011 05:08PM

Re: HTTP Keepalive @Maxim Dounin

Maxim Dounin July 11, 2011 05:52PM

Re: HTTP Keepalive @Maxim Dounin

agentzh July 11, 2011 10:00PM

Re: HTTP Keepalive @Maxim Dounin

SplitIce July 11, 2011 10:42PM

Re: HTTP Keepalive @Maxim Dounin

Maxim Dounin July 12, 2011 05:26AM

Re: HTTP Keepalive @Maxim Dounin

SplitIce July 12, 2011 10:20PM

Re: HTTP Keepalive @Maxim Dounin

姚伟斌 July 11, 2011 11:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 152
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