<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src/os, branch release-1.3.11</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Core: crypt_r() error handling fixed.</title>
<updated>2012-12-21T16:13:03+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-12-21T16:13:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=4b6f8dcd2a838f0528a4de1d9c247101fe7907fb'/>
<id>4b6f8dcd2a838f0528a4de1d9c247101fe7907fb</id>
<content type='text'>
The crypt_r() function returns NULL on errors, check it explicitly instead
of assuming errno will remain 0 if there are no errors (per POSIX, the
setting of errno after a successful call to a function is unspecified
unless the description of that function specifies that errno shall not
be modified).

Additionally, dropped unneeded ngx_set_errno(0) and fixed error handling
of memory allocation after normal crypt(), which was inapropriate and
resulted in null pointer dereference on allocation failures.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The crypt_r() function returns NULL on errors, check it explicitly instead
of assuming errno will remain 0 if there are no errors (per POSIX, the
setting of errno after a successful call to a function is unspecified
unless the description of that function specifies that errno shall not
be modified).

Additionally, dropped unneeded ngx_set_errno(0) and fixed error handling
of memory allocation after normal crypt(), which was inapropriate and
resulted in null pointer dereference on allocation failures.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implemented IPv6 support for URLs specified using domain names.</title>
<updated>2012-12-17T12:08:53+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2012-12-17T12:08:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=b8a90c69039046ff6196b9e174e21c5377ed07dd'/>
<id>b8a90c69039046ff6196b9e174e21c5377ed07dd</id>
<content type='text'>
This includes "debug_connection", upstreams, "proxy_pass", etc.
(ticket #92)

To preserve compatibility, "listen" specified with a domain name
selects the first IPv4 address, if available.  If not available,
the first IPv6 address will be used (ticket #186).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This includes "debug_connection", upstreams, "proxy_pass", etc.
(ticket #92)

To preserve compatibility, "listen" specified with a domain name
selects the first IPv4 address, if available.  If not available,
the first IPv6 address will be used (ticket #186).
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: removed GLOB_NOSORT glob option.</title>
<updated>2012-11-29T23:15:41+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-11-29T23:15:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=b63da701e5b3945198a507f5c604f3c2a6c4cb8b'/>
<id>b63da701e5b3945198a507f5c604f3c2a6c4cb8b</id>
<content type='text'>
This will result in alphabetical sorting of included files if
the "include" directive with wildcards is used.

Note that the behaviour is now different from that on Windows, where
alphabetical sorting is not guaranteed for FindFirsFile()/FindNextFile()
(used to be alphabetical on NTFS, but not on FAT).

Approved by Igor Sysoev, prodded by many.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will result in alphabetical sorting of included files if
the "include" directive with wildcards is used.

Note that the behaviour is now different from that on Windows, where
alphabetical sorting is not guaranteed for FindFirsFile()/FindNextFile()
(used to be alphabetical on NTFS, but not on FAT).

Approved by Igor Sysoev, prodded by many.
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: fixed ngx_write_chain_to_file() with IOV_MAX reached.</title>
<updated>2012-11-26T21:19:57+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-11-26T21:19:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=1469b5145142ba2096e7c3467e867e8bf67cab25'/>
<id>1469b5145142ba2096e7c3467e867e8bf67cab25</id>
<content type='text'>
Catched by dav_chunked.t on Solaris.  In released versions this might
potentially result in corruption of complex protocol responses if they
were written to disk and there were more distinct buffers than IOV_MAX
in a single write.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Catched by dav_chunked.t on Solaris.  In released versions this might
potentially result in corruption of complex protocol responses if they
were written to disk and there were more distinct buffers than IOV_MAX
in a single write.
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: added debug logging of writev() in ngx_write_chain_to_file().</title>
<updated>2012-11-21T00:52:35+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-11-21T00:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=d228cf3638eec3cb44023c506bebb9cfb7372fe9'/>
<id>d228cf3638eec3cb44023c506bebb9cfb7372fe9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed failure to start cache manager and cache loader processes</title>
<updated>2012-11-20T13:37:55+00:00</updated>
<author>
<name>Igor Sysoev</name>
<email>igor@sysoev.ru</email>
</author>
<published>2012-11-20T13:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=da130acfbe130ce655314ec128bcc1e5f0e334c6'/>
<id>da130acfbe130ce655314ec128bcc1e5f0e334c6</id>
<content type='text'>
if there were more than 512 listening sockets in configuration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
if there were more than 512 listening sockets in configuration.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed setting of CPU affinity on respawn of dead worker processes.</title>
<updated>2012-11-16T09:25:52+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2012-11-16T09:25:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=9997aaef70330fb12def33972370cf9d4827bcbc'/>
<id>9997aaef70330fb12def33972370cf9d4827bcbc</id>
<content type='text'>
Worker processes are now made aware of their sequential number needed
to select CPU affinity mask.  This replaces a workaround from r4865.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Worker processes are now made aware of their sequential number needed
to select CPU affinity mask.  This replaces a workaround from r4865.
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed conditional compilation from waitpid() error test.</title>
<updated>2012-10-18T14:48:33+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-10-18T14:48:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=106dbc8d76f6fdc626f61aaafddfdd18b159b8d5'/>
<id>106dbc8d76f6fdc626f61aaafddfdd18b159b8d5</id>
<content type='text'>
There are reports that call to a signal handler for an exited process
despite waitpid() already called for the process may happen on Linux
as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are reports that call to a signal handler for an exited process
despite waitpid() already called for the process may happen on Linux
as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct plural form for "path" in the whole source base.</title>
<updated>2012-09-28T13:49:26+00:00</updated>
<author>
<name>Andrey Belov</name>
<email>defan@nginx.com</email>
</author>
<published>2012-09-28T13:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=8be233c8f2a3544195be4a6e97243437cd78df60'/>
<id>8be233c8f2a3544195be4a6e97243437cd78df60</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added clearing of cpu_affinity after process spawn.</title>
<updated>2012-09-26T16:25:12+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2012-09-26T16:25:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=927643e3e9f8162004cc004e70796c95790ce3f6'/>
<id>927643e3e9f8162004cc004e70796c95790ce3f6</id>
<content type='text'>
This fixes unwanted/incorrect cpu_affinity use on dead worker processes
respawn.  While this is not ideal, it's expected to be better when previous
situation where multiple processes were spawn with identical CPU affinity
set.

Reported by Charles Chen.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes unwanted/incorrect cpu_affinity use on dead worker processes
respawn.  While this is not ideal, it's expected to be better when previous
situation where multiple processes were spawn with identical CPU affinity
set.

Reported by Charles Chen.
</pre>
</div>
</content>
</entry>
</feed>
