The official NGINX Open Source repository. https://nginx.org/
Find a file
Maxim Dounin 9aa906a684 Win32: improved fallback on FormatMessage() errors.
FormatMessage() seems to return many errors which essentially indicate that
the language in question is not available.  At least the following were
observed in the wild and during testing: ERROR_MUI_FILE_NOT_FOUND (15100)
(ticket #1868), ERROR_RESOURCE_TYPE_NOT_FOUND (1813).  While documentation
says it should be ERROR_RESOURCE_LANG_NOT_FOUND (1815), this doesn't seem
to be the case.

As such, checking error code was removed, and as long as FormatMessage()
returns an error, we now always try the default language.
2019-10-21 19:06:12 +03:00
auto Events: available bytes calculation via ioctl(FIONREAD). 2019-10-17 16:02:19 +03:00
conf MIME: added font/woff2 type (ticket #1243). 2018-06-15 17:29:55 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2019-06-30 10:39:01 +03:00
docs nginx-1.17.4-RELEASE 2019-09-24 18:08:48 +03:00
misc Updated OpenSSL used for win32 builds. 2019-09-24 16:30:03 +03:00
src Win32: improved fallback on FormatMessage() errors. 2019-10-21 19:06:12 +03:00
.hgtags release-1.17.4 tag 2019-09-24 18:08:48 +03:00