The official NGINX Open Source repository.
Go to file
Maxim Dounin baa239c487 Fixed signed integer overflows in timer code (ticket #145).
Integer overflow is undefined behaviour in C and this indeed caused
problems on Solaris/SPARC (at least in some cases).  Fix is to
subtract unsigned integers instead, and then cast result to a signed
one, which is implementation-defined behaviour and used to work.

Strictly speaking, we should compare (unsigned) result with the maximum
value of the corresponding signed integer type instead, this will be
defined behaviour.  This will require much more changes though, and
considered to be overkill for now.
2012-04-06 23:46:09 +00:00
auto Configure: fixed msghdr.msg_control test on 64bit platforms. 2012-03-28 12:38:03 +00:00
conf Added the HTTPS fastcgi_param to fastcgi.conf. 2011-12-25 19:15:56 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.1.18-RELEASE 2012-03-28 13:29:29 +00:00
misc Updated OpenSSL and PCRE used for win32 builds. 2012-03-15 01:57:09 +00:00
src Fixed signed integer overflows in timer code (ticket #145). 2012-04-06 23:46:09 +00:00
.hgtags release-1.1.18 tag 2012-03-28 13:29:55 +00:00