<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src/os, branch release-1.3.16</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Use NGX_FILE_ERROR for handling file operations errors.</title>
<updated>2013-03-25T15:49:11+00:00</updated>
<author>
<name>Valentin Bartenev</name>
<email>vbart@nginx.com</email>
</author>
<published>2013-03-25T15:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=604e18fb2c97b86b49b93b969d55003c9656f143'/>
<id>604e18fb2c97b86b49b93b969d55003c9656f143</id>
<content type='text'>
On Win32 platforms 0 is used to indicate errors in file operations, so
comparing against -1 is not portable.

This was not much of an issue in patched code, since only ngx_fd_info() test
is actually reachable on Win32 and in worst case it might result in bogus
error log entry.

Patch by Piotr Sikora.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Win32 platforms 0 is used to indicate errors in file operations, so
comparing against -1 is not portable.

This was not much of an issue in patched code, since only ngx_fd_info() test
is actually reachable on Win32 and in worst case it might result in bogus
error log entry.

Patch by Piotr Sikora.
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: disabled MSVC warning about '\0' not fitting into array.</title>
<updated>2013-03-20T10:18:26+00:00</updated>
<author>
<name>Valentin Bartenev</name>
<email>vbart@nginx.com</email>
</author>
<published>2013-03-20T10:18:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=cf64a6c5361b23f1aa182e50537ebb4c6c34c453'/>
<id>cf64a6c5361b23f1aa182e50537ebb4c6c34c453</id>
<content type='text'>
We believe that this warning produces more inconvience than real benefit.
Here is an example to trigger:

  u_char a[4] = "test";
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We believe that this warning produces more inconvience than real benefit.
Here is an example to trigger:

  u_char a[4] = "test";
</pre>
</div>
</content>
</entry>
<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>
</feed>
