summaryrefslogtreecommitdiffhomepage
path: root/src/os/win32/ngx_win32_init.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-06-18Fixed format strings for ngx_win32_version.Maxim Dounin1-3/+3
2019-10-21Win32: silenced -Wcast-function-type GCC warning (ticket #1865).Maxim Dounin1-1/+1
With MinGW-w64, building 64-bit nginx binary with GCC 8 and above results in warning due to cast of GetProcAddress() result to ngx_wsapoll_pt, which GCC thinks is incorrect. Added intermediate cast to "void *" to silence the warning.
2019-01-24Win32: added WSAPoll() support.Maxim Dounin1-0/+32
WSAPoll() is only available with Windows Vista and newer (and only available during compilation if _WIN32_WINNT >= 0x0600). To make sure the code works with Windows XP, we do not redefine _WIN32_WINNT, but instead load WSAPoll() dynamically if it is not available during compilation. Also, sockets are not guaranteed to be small integers on Windows. So an index array is used instead of NGX_USE_FD_EVENT to map events to connections.
2016-09-15Stream: filters.Roman Arutyunyan1-0/+2
2016-08-04Always seed PRNG with PID, seconds, and milliseconds.Ruslan Ermilov1-7/+9
2016-04-07Fixed spelling.Josh Soref1-1/+1
2015-04-27Win32: shared memory base addresses and remapping.Maxim Dounin1-0/+1
Two mechanisms are implemented to make it possible to store pointers in shared memory on Windows, in particular on Windows Vista and later versions with ASLR: - The ngx_shm_remap() function added to allow remapping of a shared memory zone to the address originally used for it in the master process. While important, it doesn't solve the problem by itself as in many cases it's not possible to use the address because of conflicts with other allocations. - We now create mappings at the same address in all processes by starting mappings at predefined addresses normally unused by newborn processes. These two mechanisms combined allow to use shared memory on Windows almost without problems, including reloads. Based on the patch by Sergey Brester: http://mailman.nginx.org/pipermail/nginx-devel/2015-April/006836.html
2014-05-20Configure: the --build= option.Ruslan Ermilov1-1/+1
If set, its value is output in "nginx -v" and in the error log.
2014-02-13Win32: MSVC 2013 compatibility.Maxim Dounin1-0/+8
Warnings about GetVersionEx() deprecation silenced. Precompiled object linked in.
2014-01-04Added per-process random seeding (ticket #456).Maxim Dounin1-1/+1
2013-09-04Win32: MinGW GCC compatibility.Maxim Dounin1-1/+1
Several warnings silenced, notably (ngx_socket_t) -1 is now checked on socket operations instead of -1, as ngx_socket_t is unsigned on win32 and gcc complains on comparison. With this patch, it's now possible to compile nginx using mingw gcc, with options we normally compile on win32.
2012-03-22Win32: added missing call to srand().Maxim Dounin1-0/+2
Found by Veracode.
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2010-03-03compare long file names in case-insensitive mode,Igor Sysoev1-0/+3
the bug had been introduced in r3418
2009-04-23issue start up errors and warning on both stderr and error_logIgor Sysoev1-1/+0
2009-04-20Win32 master/workers modelIgor Sysoev1-5/+7
2009-04-18support attaching to an existent Win32 shared memoryIgor Sysoev1-0/+19
2007-12-03ngx_udp_recv()Igor Sysoev1-0/+1
2007-11-11TransmitPackets(), ConnectEx(), and DisconnectEx()Igor Sysoev1-21/+62
2006-11-20slab allocator in shared memoryIgor Sysoev1-0/+3
2005-12-16nginx-0.3.16-RELEASE importrelease-0.3.16Igor Sysoev1-0/+1
*) Feature: the ngx_http_map_module. *) Feature: the "types_hash_max_size" and "types_hash_bucket_size" directives. *) Feature: the "ssi_value_length" directive. *) Feature: the "worker_rlimit_core" directive. *) Workaround: the connection number in logs was always 1 if nginx was built by the icc 8.1 or 9.0 compilers with optimization for Pentium 4. *) Bugfix: the "config timefmt" SSI command set incorrect time format. *) Bugfix: nginx did not close connection to IMAP/POP3 backend for the SSL connections; the bug had appeared in 0.3.13. Thanks to Rob Mueller. *) Bugfix: segmentation fault may occurred in at SSL shutdown; the bug had appeared in 0.3.13.
2005-09-08nginx-0.1.45-RELEASE importrelease-0.1.45Igor Sysoev1-0/+3
*) Change: the "ssl_engine" directive was canceled in the ngx_http_ssl_module and now is introduced at global level. *) Bugfix: the responses with SSI subrequests did not transferred via SSL connection. *) Various bug fixes in the IMAP/POP3 proxy.
2004-12-02nginx-0.1.11-RELEASE importrelease-0.1.11Igor Sysoev1-0/+2
*) Feature: the worker_priority directive. *) Change: both tcp_nopush and tcp_nodelay directives affect the transferred response. *) Bugfix: nginx did not call initgroups(). Thanks to Andrew Sitnikov and Andrei Nigmatulin. *) Change: now the ngx_http_autoindex_module shows the file size in the bytes. *) Bugfix: the ngx_http_autoindex_module returned the 500 error if the broken symlink was in a directory. *) Bugfix: the files bigger than 4G could not be transferred using sendfile. *) Bugfix: if the backend was resolved to several backends and there was an error while the response waiting then process may got caught in an endless loop. *) Bugfix: the worker process may exit with the "unknown cycle" message when the /dev/poll method was used. *) Bugfix: "close() channel failed" errors. *) Bugfix: the autodetection of the "nobody" and "nogroup" groups. *) Bugfix: the send_lowat directive did not work on Linux. *) Bugfix: the segmentation fault occurred if there was no events section in configuration. *) Bugfix: nginx could not be built on OpenBSD. *) Bugfix: the double slashes in "://" in the URI were converted to ":/".
2004-11-11nginx-0.1.5-RELEASE importrelease-0.1.5Igor Sysoev1-46/+56
*) Bugfix: on Solaris and Linux there may be too many "recvmsg() returned not enough data" alerts. *) Bugfix: there were the "writev() failed (22: Invalid argument)" errors on Solaris in proxy mode without sendfile. On other platforms that do not support sendfile at all the process got caught in an endless loop. *) Bugfix: segmentation fault on Solaris in proxy mode and using sendfile. *) Bugfix: segmentation fault on Solaris. *) Bugfix: on-line upgrade did not work on Linux. *) Bugfix: the ngx_http_autoindex_module module did not escape the spaces, the quotes, and the percent signs in the directory listing. *) Change: the decrease of the copy operations. *) Feature: the userid_p3p directive.
2004-10-03nginx-0.1.0-2004-10-04-00:02:06 importIgor Sysoev1-5/+11
2004-09-29nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyrightIgor Sysoev1-1/+1
2004-09-28nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused filesIgor Sysoev1-0/+5
2004-06-30nginx-0.0.7-2004-06-30-19:30:41 importIgor Sysoev1-0/+2
2004-06-06nginx-0.0.3-2004-06-06-23:49:18 importIgor Sysoev1-0/+4
2004-03-09nginx-0.0.2-2004-03-09-22:47:07 importIgor Sysoev1-12/+23
2003-12-14nginx-0.0.1-2003-12-14-23:10:27 importIgor Sysoev1-1/+13
2003-11-16nginx-0.0.1-2003-11-17-00:49:42 importIgor Sysoev1-1/+1
2003-11-14nginx-0.0.1-2003-11-14-10:20:34 importIgor Sysoev1-5/+0
2003-07-01nginx-0.0.1-2003-07-01-19:00:03 importIgor Sysoev1-4/+18
2003-06-11nginx-0.0.1-2003-06-11-19:28:34 importIgor Sysoev1-0/+148