<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src/http, branch release-1.1.6</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Added clearing of modules' contexts in ngx_http_named_location().</title>
<updated>2011-10-15T21:42:03+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2011-10-15T21:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=31f5a59faed561137eba3069834e03a692e584c9'/>
<id>31f5a59faed561137eba3069834e03a692e584c9</id>
<content type='text'>
Patch by Yichun Zhang (agentzh).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Yichun Zhang (agentzh).
</pre>
</div>
</content>
</entry>
<entry>
<title>Skipping location rewrite phase for server null location.</title>
<updated>2011-10-13T12:43:22+00:00</updated>
<author>
<name>Igor Sysoev</name>
<email>igor@sysoev.ru</email>
</author>
<published>2011-10-13T12:43:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=d51bcf6f633998862a9a8064ec481840620073ec'/>
<id>d51bcf6f633998862a9a8064ec481840620073ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Better recheck of dead upstream servers.</title>
<updated>2011-10-12T14:22:48+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2011-10-12T14:22:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=b713e480ca9aeccaf63bccf8629eec13041c6ab6'/>
<id>b713e480ca9aeccaf63bccf8629eec13041c6ab6</id>
<content type='text'>
Previously nginx used to mark backend again as live as soon as fail_timeout
passes (10s by default) since last failure.  On the other hand, detecting
dead backend takes up to 60s (proxy_connect_timeout) in typical situation
"backend is down and doesn't respond to any packets".  This resulted in
suboptimal behaviour in the above situation (up to 23% of requests were
directed to dead backend with default settings).

More detailed description of the problem may be found here (in Russian):
http://mailman.nginx.org/pipermail/nginx-ru/2011-August/042172.html

Fix is to only allow one request after fail_timeout passes, and
mark backend as "live" only if this request succeeds.

Note that with new code backend will not be marked "live" unless "check"
request is completed, and this may take a while in some specific workloads
(e.g. streaming).  This is believed to be acceptable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously nginx used to mark backend again as live as soon as fail_timeout
passes (10s by default) since last failure.  On the other hand, detecting
dead backend takes up to 60s (proxy_connect_timeout) in typical situation
"backend is down and doesn't respond to any packets".  This resulted in
suboptimal behaviour in the above situation (up to 23% of requests were
directed to dead backend with default settings).

More detailed description of the problem may be found here (in Russian):
http://mailman.nginx.org/pipermail/nginx-ru/2011-August/042172.html

Fix is to only allow one request after fail_timeout passes, and
mark backend as "live" only if this request succeeds.

Note that with new code backend will not be marked "live" unless "check"
request is completed, and this may take a while in some specific workloads
(e.g. streaming).  This is believed to be acceptable.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clear old Location header (if any) while adding a new one.</title>
<updated>2011-10-12T13:28:03+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2011-10-12T13:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=72df0f400a4f6144f9c69add91002a0ff02cfe41'/>
<id>72df0f400a4f6144f9c69add91002a0ff02cfe41</id>
<content type='text'>
This prevents incorrect behaviour when another redirect is issued within
error_page 302 handler.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This prevents incorrect behaviour when another redirect is issued within
error_page 302 handler.
</pre>
</div>
</content>
</entry>
<entry>
<title>Wording fix, "many data" is incorrect.</title>
<updated>2011-10-12T13:24:59+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2011-10-12T13:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=8650c1eb24f77773f04df3ed358897c39334a1bc'/>
<id>8650c1eb24f77773f04df3ed358897c39334a1bc</id>
<content type='text'>
Noted by Piotr Sikora.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Noted by Piotr Sikora.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed two minor bugs in "types" parsing code.</title>
<updated>2011-10-12T09:36:21+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2011-10-12T09:36:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=fc559626989b7ee884ea021809387617aa6c7cd1'/>
<id>fc559626989b7ee884ea021809387617aa6c7cd1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed grammar in a comment.</title>
<updated>2011-10-12T09:34:53+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2011-10-12T09:34:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=b5c3336e3e3508c62fceb2177ea0310690da36cc'/>
<id>b5c3336e3e3508c62fceb2177ea0310690da36cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replaced magic constants representing default values of some directives</title>
<updated>2011-10-12T09:33:43+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2011-10-12T09:33:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=dce7a0c00f1ac7264bc0d832437399448bfbfde3'/>
<id>dce7a0c00f1ac7264bc0d832437399448bfbfde3</id>
<content type='text'>
with appropriate #define's.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with appropriate #define's.
</pre>
</div>
</content>
</entry>
<entry>
<title>Stylistic change in checking the boolean expression.</title>
<updated>2011-10-12T09:27:34+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2011-10-12T09:27:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=51a2423633f3831ca4b05ba1afea83a4d3189835'/>
<id>51a2423633f3831ca4b05ba1afea83a4d3189835</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Preallocating exact number of default MIME types entries.</title>
<updated>2011-10-12T09:19:57+00:00</updated>
<author>
<name>Igor Sysoev</name>
<email>igor@sysoev.ru</email>
</author>
<published>2011-10-12T09:19:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=bfe7be45b87c766469bf912ba9e080886065fb08'/>
<id>bfe7be45b87c766469bf912ba9e080886065fb08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
