<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src, branch release-1.0.12</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Merge of r4422:</title>
<updated>2012-02-05T20:06:50+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-02-05T20:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=b39bc1ccbddbcd1a3f0d3972c2ab04762b2d580d'/>
<id>b39bc1ccbddbcd1a3f0d3972c2ab04762b2d580d</id>
<content type='text'>
Fixed error handling in ngx_event_connect_peer().

Previously if ngx_add_event() failed a connection was freed two times (once
in the ngx_event_connect_peer(), and again by a caller) as pc-&gt;connection was
left set.  Fix is to always use ngx_close_connection() to close connection
properly and set pc-&gt;connection to NULL on errors.

Patch by Piotr Sikora.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed error handling in ngx_event_connect_peer().

Previously if ngx_add_event() failed a connection was freed two times (once
in the ngx_event_connect_peer(), and again by a caller) as pc-&gt;connection was
left set.  Fix is to always use ngx_close_connection() to close connection
properly and set pc-&gt;connection to NULL on errors.

Patch by Piotr Sikora.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge of r4416:</title>
<updated>2012-02-05T20:05:11+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-02-05T20:05:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=f4d00a96acd56fb0d41233f5f1346f051528129a'/>
<id>f4d00a96acd56fb0d41233f5f1346f051528129a</id>
<content type='text'>
Fixed AIO error handling on FreeBSD.

The aio_return() must be called regardless of the error returned by
aio_error().  Not calling it resulted in various problems up to segmentation
faults (as AIO events are level-triggered and were reported again and again).

Additionally, in "aio sendfile" case r-&gt;blocked was incremented in case of
error returned from ngx_file_aio_read(), thus causing request hangs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed AIO error handling on FreeBSD.

The aio_return() must be called regardless of the error returned by
aio_error().  Not calling it resulted in various problems up to segmentation
faults (as AIO events are level-triggered and were reported again and again).

Additionally, in "aio sendfile" case r-&gt;blocked was incremented in case of
error returned from ngx_file_aio_read(), thus causing request hangs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge of r4406, r4413: copyrights updated.</title>
<updated>2012-02-05T20:02:59+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-02-05T20:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=a22bc749c7b170ec8883ef614dd8dd88fca53aaa'/>
<id>a22bc749c7b170ec8883ef614dd8dd88fca53aaa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge of r4405:</title>
<updated>2012-02-05T19:27:18+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-02-05T19:27:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=915bc544030472d2516a50d317afd82bccb022e1'/>
<id>915bc544030472d2516a50d317afd82bccb022e1</id>
<content type='text'>
Fixed division by zero exception in ngx_hash_init().

The ngx_hash_init() function did not expect call with zero elements count,
which caused FPE error on configs with an empty "types" block in http context
and "types_hash_max_size" &gt; 10000.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed division by zero exception in ngx_hash_init().

The ngx_hash_init() function did not expect call with zero elements count,
which caused FPE error on configs with an empty "types" block in http context
and "types_hash_max_size" &gt; 10000.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge of r4404:</title>
<updated>2012-02-05T19:25:24+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-02-05T19:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=a491bd5799bf04ac6ea85d5090ac22f603a981b4'/>
<id>a491bd5799bf04ac6ea85d5090ac22f603a981b4</id>
<content type='text'>
Fixed sched_setaffinity(2) to correctly pass size.

Second argument (cpusetsize) is size in bytes, not in bits.  Previously
used constant 32 resulted in reading of uninitialized memory and caused
EINVAL to be returned on some Linux kernels.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed sched_setaffinity(2) to correctly pass size.

Second argument (cpusetsize) is size in bytes, not in bits.  Previously
used constant 32 resulted in reading of uninitialized memory and caused
EINVAL to be returned on some Linux kernels.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge of r4402:</title>
<updated>2012-02-05T19:23:44+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-02-05T19:23:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=c8d012d425137f36ee0b509ce1e95f339cfe5cbc'/>
<id>c8d012d425137f36ee0b509ce1e95f339cfe5cbc</id>
<content type='text'>
Fixed proxy_cache_use_stale in "no live upstreams" case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed proxy_cache_use_stale in "no live upstreams" case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge of r4401, r4415:</title>
<updated>2012-02-05T19:15:09+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-02-05T19:15:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=8bfb37e9f0e808483cd9754c020292a9cb35e342'/>
<id>8bfb37e9f0e808483cd9754c020292a9cb35e342</id>
<content type='text'>
SSL changes:

*) Added support for TLSv1.1, TLSv1.2 in ssl_protocols directive.

   Support for TLSv1.1 and TLSv1.2 protocols was introduced in
   OpenSSL 1.0.1 (-beta1 was recently released).  This change makes it
   possible to disable these protocols and/or enable them without other
   protocols.

*) Removed ENGINE_load_builtin_engines() call.

   It's already called by OPENSSL_config().  Calling it again causes
   some openssl engines (notably GOST) to corrupt memory, as they don't
   expect to be created more than once.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SSL changes:

*) Added support for TLSv1.1, TLSv1.2 in ssl_protocols directive.

   Support for TLSv1.1 and TLSv1.2 protocols was introduced in
   OpenSSL 1.0.1 (-beta1 was recently released).  This change makes it
   possible to disable these protocols and/or enable them without other
   protocols.

*) Removed ENGINE_load_builtin_engines() call.

   It's already called by OPENSSL_config().  Calling it again causes
   some openssl engines (notably GOST) to corrupt memory, as they don't
   expect to be created more than once.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge of r4398:</title>
<updated>2012-02-05T19:06:52+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-02-05T19:06:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=28c968a89b78e2002c9628ff6b02caaba9d3569f'/>
<id>28c968a89b78e2002c9628ff6b02caaba9d3569f</id>
<content type='text'>
Changed ngx_log_debugN() macros to verify the number of arguments
when built with debugging.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed ngx_log_debugN() macros to verify the number of arguments
when built with debugging.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge of r4384, r4385:</title>
<updated>2012-02-05T16:12:55+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-02-05T16:12:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=21f546d0d6b2938d6a8305079ed26c8e49d4f5e2'/>
<id>21f546d0d6b2938d6a8305079ed26c8e49d4f5e2</id>
<content type='text'>
Fixes for limit_rate:

*) Fixed throughput problems with large limit_rate.

   Previous attempt to fix this was in r1658 (0.6.18), though that one
   wasn't enough (it was a noop).

*) Fixed interaction of limit_rate and sendfile_max_chunk.

   It's possible that configured limit_rate will permit more bytes per
   single operation than sendfile_max_chunk.  To protect disk from
   takeover by a single client it is necessary to apply sendfile_max_chunk
   as a limit regardless of configured limit_rate.

   See here for report (in Russian):
   http://mailman.nginx.org/pipermail/nginx-ru/2010-March/032806.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes for limit_rate:

*) Fixed throughput problems with large limit_rate.

   Previous attempt to fix this was in r1658 (0.6.18), though that one
   wasn't enough (it was a noop).

*) Fixed interaction of limit_rate and sendfile_max_chunk.

   It's possible that configured limit_rate will permit more bytes per
   single operation than sendfile_max_chunk.  To protect disk from
   takeover by a single client it is necessary to apply sendfile_max_chunk
   as a limit regardless of configured limit_rate.

   See here for report (in Russian):
   http://mailman.nginx.org/pipermail/nginx-ru/2010-March/032806.html
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge of r4383, r4403:</title>
<updated>2012-02-05T15:51:20+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-02-05T15:51:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=ff8c2aedfee6514ba50391dcf5fef5bd02016684'/>
<id>ff8c2aedfee6514ba50391dcf5fef5bd02016684</id>
<content type='text'>
MP4 fixes:

*) Fixed mp4 if first entry in stsc was skipped (ticket #72).

   If first entry in stsc atom was skipped, and seek was to chunk
   boundary, than first_chunk in the generated stsc table wasn't
   set to 1.

*) Fixed handling of mp4 above 2G and 32bit offsets (ticket #84).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MP4 fixes:

*) Fixed mp4 if first entry in stsc was skipped (ticket #72).

   If first entry in stsc atom was skipped, and seek was to chunk
   boundary, than first_chunk in the generated stsc table wasn't
   set to 1.

*) Fixed handling of mp4 above 2G and 32bit offsets (ticket #84).
</pre>
</div>
</content>
</entry>
</feed>
