<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src/core/ngx_config.h, branch release-1.29.2</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Core: improved NGX_ALIGNMENT detection on some x86_64 platforms.</title>
<updated>2025-04-18T19:57:26+00:00</updated>
<author>
<name>Aleksei Bavshin</name>
<email>a.bavshin@nginx.com</email>
</author>
<published>2025-01-14T18:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=b9d0ba6677ff7761c85f5556776d6a6c2a7a7051'/>
<id>b9d0ba6677ff7761c85f5556776d6a6c2a7a7051</id>
<content type='text'>
Previously, the default pool alignment used sizeof(unsigned long), with
the expectation that this would match to a platform word size.  Certain
64-bit platforms prove this assumption wrong by keeping the 32-bit long
type, which is fully compliant with the C standard.

This introduces a possibility of suboptimal misaligned access to the
data allocated with ngx_palloc() on the affected platforms, which is
addressed here by changing the default NGX_ALIGNMENT to a pointer size.

As we override the detection in auto/os/conf for all the machine types
except x86, and Unix-like 64-bit systems prefer the 64-bit long, the
impact of the change should be limited to Win64 x64.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the default pool alignment used sizeof(unsigned long), with
the expectation that this would match to a platform word size.  Certain
64-bit platforms prove this assumption wrong by keeping the 32-bit long
type, which is fully compliant with the C standard.

This introduces a possibility of suboptimal misaligned access to the
data allocated with ngx_palloc() on the affected platforms, which is
addressed here by changing the default NGX_ALIGNMENT to a pointer size.

As we override the detection in auto/os/conf for all the machine types
except x86, and Unix-like 64-bit systems prefer the 64-bit long, the
impact of the change should be limited to Win64 x64.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduced the NGX_COMPAT macro.</title>
<updated>2016-09-29T12:28:24+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2016-09-29T12:28:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=c40de746829971f2edbf9faeae64d4516cb5466e'/>
<id>c40de746829971f2edbf9faeae64d4516cb5466e</id>
<content type='text'>
When enabled, some structures are padded to be size compatible
with their NGINX Plus versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When enabled, some structures are padded to be size compatible
with their NGINX Plus versions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: removed incorrect GCC 2.7 check.</title>
<updated>2016-04-01T10:17:12+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2016-04-01T10:17:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=7cee215f15cf91e40fe5709485e60655292e2c67'/>
<id>7cee215f15cf91e40fe5709485e60655292e2c67</id>
<content type='text'>
It was broken since introduction (__GNU__ instead of __GNUC__) and did
nothing.  Moreover, GCC 2.7 is happy with the normal version of the code.

Reported by Joel Cunningham,
http://mailman.nginx.org/pipermail/nginx-devel/2016-March/007964.html.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was broken since introduction (__GNU__ instead of __GNUC__) and did
nothing.  Moreover, GCC 2.7 is happy with the normal version of the code.

Reported by Joel Cunningham,
http://mailman.nginx.org/pipermail/nginx-devel/2016-March/007964.html.
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: expose maximum values of time_t and ngx_int_t.</title>
<updated>2015-03-16T21:24:34+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2015-03-16T21:24:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=309928b941edf6e4a00ba873a70521c3ce3fc94d'/>
<id>309928b941edf6e4a00ba873a70521c3ce3fc94d</id>
<content type='text'>
These are needed to detect overflows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are needed to detect overflows.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make macros safe.</title>
<updated>2013-07-05T07:42:25+00:00</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@nginx.com</email>
</author>
<published>2013-07-05T07:42:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=050f74b751c10eeb2491ec6509d0508a7e690209'/>
<id>050f74b751c10eeb2491ec6509d0508a7e690209</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Copyright updated.</title>
<updated>2012-01-18T15:07:43+00:00</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@nginx.com</email>
</author>
<published>2012-01-18T15:07:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=f8d59e33f34185c28d1d3c6625a897e214b7ca73'/>
<id>f8d59e33f34185c28d1d3c6625a897e214b7ca73</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix SSL connection issues on platforms with 32-bit off_t</title>
<updated>2011-07-22T12:53:04+00:00</updated>
<author>
<name>Igor Sysoev</name>
<email>igor@sysoev.ru</email>
</author>
<published>2011-07-22T12:53:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=b0b6bcedfc4b74bfe13b55b684a9cfc9e03ac100'/>
<id>b0b6bcedfc4b74bfe13b55b684a9cfc9e03ac100</id>
<content type='text'>
patch by Maxim Dounin
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
patch by Maxim Dounin
</pre>
</div>
</content>
</entry>
<entry>
<title>dynamic accept threshold</title>
<updated>2008-09-19T12:47:13+00:00</updated>
<author>
<name>Igor Sysoev</name>
<email>igor@sysoev.ru</email>
</author>
<published>2008-09-19T12:47:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=e17cc987d32259f19145a260e9ee755c1cf21227'/>
<id>e17cc987d32259f19145a260e9ee755c1cf21227</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>*) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()</title>
<updated>2008-08-21T18:47:23+00:00</updated>
<author>
<name>Igor Sysoev</name>
<email>igor@sysoev.ru</email>
</author>
<published>2008-08-21T18:47:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=6a75019ad6847a5bf8c0dcd1f0ad87ed715add7e'/>
<id>6a75019ad6847a5bf8c0dcd1f0ad87ed715add7e</id>
<content type='text'>
*) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop()
   as they are called just once per connection
*) NGX_INET_ADDRSTRLEN
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
*) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop()
   as they are called just once per connection
*) NGX_INET_ADDRSTRLEN
</pre>
</div>
</content>
</entry>
<entry>
<title>*) move Darwin support to separate files</title>
<updated>2008-07-30T12:18:07+00:00</updated>
<author>
<name>Igor Sysoev</name>
<email>igor@sysoev.ru</email>
</author>
<published>2008-07-30T12:18:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=749449097847cc3bee9e4e3966122a94149b755b'/>
<id>749449097847cc3bee9e4e3966122a94149b755b</id>
<content type='text'>
*) Darwin sendfile() support
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
*) Darwin sendfile() support
</pre>
</div>
</content>
</entry>
</feed>
