<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src/http/modules/ngx_http_stub_status_module.c, branch release-1.28.3</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Removed incorrect optimization of HEAD requests.</title>
<updated>2021-01-19T17:21:12+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2021-01-19T17:21:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=d2c0b9a6c7b0757d5d55db36b1ae656bba056a8c'/>
<id>d2c0b9a6c7b0757d5d55db36b1ae656bba056a8c</id>
<content type='text'>
The stub status module and ngx_http_send_response() (used by the empty gif
module and the "return" directive) incorrectly assumed that responding
to HEAD requests always results in r-&gt;header_only being set.  This is not
true, and results in incorrect behaviour, for example, in the following
configuration:

   location / {
       image_filter size;
       return 200 test;
   }

Fix is to remove this incorrect micro-optimization from both stub status
module and ngx_http_send_response().

Reported by Chris Newton.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The stub status module and ngx_http_send_response() (used by the empty gif
module and the "return" directive) incorrectly assumed that responding
to HEAD requests always results in r-&gt;header_only being set.  This is not
true, and results in incorrect behaviour, for example, in the following
configuration:

   location / {
       image_filter size;
       return 200 test;
   }

Fix is to remove this incorrect micro-optimization from both stub status
module and ngx_http_send_response().

Reported by Chris Newton.
</pre>
</div>
</content>
</entry>
<entry>
<title>Variables: macros for null variables.</title>
<updated>2017-08-01T11:28:33+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2017-08-01T11:28:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=b992f7259ba4763178f9d394b320bcc5de88818b'/>
<id>b992f7259ba4763178f9d394b320bcc5de88818b</id>
<content type='text'>
No functional changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Style: unified request method checks.</title>
<updated>2015-11-06T12:22:43+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2015-11-06T12:22:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=5ea66922d9c432056c4d42b2608ef1e4358b9fa4'/>
<id>5ea66922d9c432056c4d42b2608ef1e4358b9fa4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Stub status: corrected the "stub_status" directive.</title>
<updated>2014-08-26T13:35:23+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2014-08-26T13:35:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=8607e64b83fc66030234dc7d3837079e85ba58a2'/>
<id>8607e64b83fc66030234dc7d3837079e85ba58a2</id>
<content type='text'>
The "stub_status" directive does not require an argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "stub_status" directive does not require an argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>Status: indentation and style, no functional changes.</title>
<updated>2014-08-01T14:36:35+00:00</updated>
<author>
<name>Sergey Kandaurov</name>
<email>pluknet@nginx.com</email>
</author>
<published>2014-08-01T14:36:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=88132eed5438f57b61660687c5037e2643a38bed'/>
<id>88132eed5438f57b61660687c5037e2643a38bed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed setting of content type in some cases.</title>
<updated>2013-12-27T15:40:04+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2013-12-27T15:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=2539ce036f6f9d9c2f0e9d6e723d1f0785b9dc0a'/>
<id>2539ce036f6f9d9c2f0e9d6e723d1f0785b9dc0a</id>
<content type='text'>
This fixes content type set in stub_status and autoindex responses
to be usable in content type checks made by filter modules, such
as charset and sub filters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes content type set in stub_status and autoindex responses
to be usable in content type checks made by filter modules, such
as charset and sub filters.
</pre>
</div>
</content>
</entry>
<entry>
<title>Status: the "last_in_chain" flag must be set.</title>
<updated>2013-06-05T12:22:40+00:00</updated>
<author>
<name>Valentin Bartenev</name>
<email>vbart@nginx.com</email>
</author>
<published>2013-06-05T12:22:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=f6650479c30d26b82187bfe0a343a4c92eb9a81a'/>
<id>f6650479c30d26b82187bfe0a343a4c92eb9a81a</id>
<content type='text'>
The module always produces only one and obviously the last buffer in chain.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The module always produces only one and obviously the last buffer in chain.
</pre>
</div>
</content>
</entry>
<entry>
<title>Status: introduced the "ngx_stat_waiting" counter.</title>
<updated>2013-03-15T20:00:49+00:00</updated>
<author>
<name>Valentin Bartenev</name>
<email>vbart@nginx.com</email>
</author>
<published>2013-03-15T20:00:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=bac0cb3bbd507400c9dbac03eacbb6c6937efccd'/>
<id>bac0cb3bbd507400c9dbac03eacbb6c6937efccd</id>
<content type='text'>
And corresponding variable $connections_waiting was added.

Previously, waiting connections were counted as the difference between
active connections and the sum of reading and writing connections.
That made it impossible to count more than one request in one connection
as reading or writing (as is the case for SPDY).

Also, we no longer count connections in handshake state as waiting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And corresponding variable $connections_waiting was added.

Previously, waiting connections were counted as the difference between
active connections and the sum of reading and writing connections.
That made it impossible to count more than one request in one connection
as reading or writing (as is the case for SPDY).

Also, we no longer count connections in handshake state as waiting.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduced variables in ngx_http_stub_status module.</title>
<updated>2013-02-21T23:31:57+00:00</updated>
<author>
<name>Andrey Belov</name>
<email>defan@nginx.com</email>
</author>
<published>2013-02-21T23:31:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=284a7dbb307d1518cd10e146a56485d576cf6c82'/>
<id>284a7dbb307d1518cd10e146a56485d576cf6c82</id>
<content type='text'>
Three new variables were added: $connections_active, $connections_reading
and $connections_writing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Three new variables were added: $connections_active, $connections_reading
and $connections_writing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allows particular modules to handle subrequests properly.</title>
<updated>2012-04-26T13:06:27+00:00</updated>
<author>
<name>Andrey Belov</name>
<email>defan@nginx.com</email>
</author>
<published>2012-04-26T13:06:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=eeec229e3e5c1278dd98d48d96cd6d7063da3974'/>
<id>eeec229e3e5c1278dd98d48d96cd6d7063da3974</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
