summaryrefslogtreecommitdiffhomepage
path: root/src/os/win32/ngx_errno.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-08-14QUIC: path MTU discovery.Roman Arutyunyan1-0/+1
MTU selection starts by doubling the initial MTU until the first failure. Then binary search is used to find the path MTU.
2016-03-29Win32: replaced NGX_EXDEV with more appropriate error code.Maxim Dounin1-5/+1
Correct error code for NGX_EXDEV on Windows is ERROR_NOT_SAME_DEVICE, "The system cannot move the file to a different disk drive". Previously used ERROR_WRONG_DISK is about wrong diskette in the drive and is not appropriate. There is no real difference though, as MoveFile() is able to copy files between disk drives, and will fail with ERROR_ACCESS_DENIED when asked to copy directories. The ERROR_NOT_SAME_DEVICE error is only used by MoveFileEx() when called without the MOVEFILE_COPY_ALLOWED flag.
2016-03-29Win32: additional error code NGX_EEXIST_FILE (ticket #910).Maxim Dounin1-1/+7
On Windows there are two possible error codes which correspond to the EEXIST error code: ERROR_FILE_EXISTS used by CreateFile(CREATE_NEW), and ERROR_ALREADY_EXISTS used by CreateDirectory(). MoveFile() seems to use both: ERROR_ALREADY_EXISTS when moving within one filesystem, and ERROR_FILE_EXISTS when copying a file to a different drive.
2014-01-30Core: handle getsockopt(TCP_FASTOPEN) failures.Piotr Sikora1-0/+1
Linux returns EOPNOTSUPP for non-TCP sockets and ENOPROTOOPT for TCP sockets, because getsockopt(TCP_FASTOPEN) is not implemented so far. While there, lower the log level from ALERT to NOTICE to match other getsockopt() failures. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
2013-10-31Core: handling of getsockopt(TCP_DEFER_ACCEPT) failures.Maxim Dounin1-0/+1
Recent Linux versions started to return EOPNOTSUPP to getsockopt() calls on unix sockets, resulting in log pollution on binary upgrade. Such errors are silently ignored now.
2013-09-02Added the NGX_EBADF define.Valentin Bartenev1-0/+1
2013-07-30Autoindex: improved ngx_de_info() error handling.Sergey Kandaurov1-0/+1
This allows to build a directory listing whenever a loop exists in symbolic link resolution of the path argument.
2012-06-18Fixed return type of ngx_strerror_init().Maxim Dounin1-1/+1
2012-05-11Accept moderation in case of EMFILE/ENFILE.Maxim Dounin1-0/+2
In case of EMFILE/ENFILE returned from accept() we disable accept events, and (in case of no accept mutex used) arm timer to re-enable them later. With accept mutex we just drop it, and rely on normal accept mutex handling to re-enable accept events once it's acquired again. As we now handle errors in question, logging level was changed to "crit" (instead of "alert" used for unknown errors). Note: the code might call ngx_enable_accept_events() multiple times if there are many listen sockets. The ngx_enable_accept_events() function was modified to check if connection is already active (via c->read->active) and skip it then, thus making multiple calls safe.
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2010-11-25use copied strerror() messages and autoconfigured sys_nerr valueIgor Sysoev1-1/+3
2009-08-11NGX_ENOPATHIgor Sysoev1-0/+1
2009-03-30win32 ngx_open_file() supports utf8 names and NGX_FILE_APPENDIgor Sysoev1-0/+1
2008-12-10use ngx_ext_rename_file() for single file MOVEIgor Sysoev1-3/+6
2008-01-25add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWNIgor Sysoev1-0/+3
2006-11-20slab allocator in shared memoryIgor Sysoev1-0/+1
2006-07-07nginx-0.3.53-RELEASE importrelease-0.3.53Igor Sysoev1-0/+1
*) Change: the "add_header" directive adds the string to 204, 301, and 302 responses. *) Feature: the "server" directive in the "upstream" context supports the "weight" parameter. *) Feature: the "server_name" directive supports the "*" wildcard. *) Feature: nginx supports the request body size more than 2G. *) Bugfix: if a client was successfully authorized using "satisfy_any on", then anyway the message "access forbidden by rule" was written in the log. *) Bugfix: the "PUT" method may erroneously not create a file and return the 409 code. *) Bugfix: if the IMAP/POP3 backend returned an error, then nginx continued proxying anyway.
2006-04-19nginx-0.3.40-RELEASE importrelease-0.3.40Igor Sysoev1-0/+1
*) Feature: the ngx_http_dav_module supports the MKCOL method. *) Feature: the "create_full_put_path" directive. *) Feature: the "$limit_rate" variable.
2006-04-14nginx-0.3.38-RELEASE importrelease-0.3.38Igor Sysoev1-0/+1
*) Feature: the ngx_http_dav_module. *) Change: the ngx_http_perl_module optimizations. Thanks to Sergey Skvortsov. *) Feature: the ngx_http_perl_module supports the $r->request_body_file method. *) Feature: the "client_body_in_file_only" directive. *) Workaround: now on disk overflow nginx tries to write access logs once a second only. Thanks to Anton Yuzhaninov and Maxim Dounin. *) Bugfix: now the "limit_rate" directive more precisely limits rate if rate is more than 100 Kbyte/s. Thanks to ForJest. *) Bugfix: now the IMAP/POP3 proxy escapes the "\r" and "\n" symbols in login and password to pass authorization server. Thanks to Maxim Dounin.
2005-09-23nginx-0.2.0-RELEASE importrelease-0.2.0Igor Sysoev1-0/+1
*) The pid-file names used during online upgrade was changed and now is not required a manual rename operation. The old master process adds the ".oldbin" suffix to its pid-file and executes a new binary file. The new master process creates usual pid-file without the ".newbin" suffix. If the master process exits, then old master process renames back its pid-file with the ".oldbin" suffix to the pid-file without suffix. *) Change: the "worker_connections" directive, new name of the "connections" directive; now the directive specifies maximum number of connections, but not maximum socket descriptor number. *) Feature: SSL supports the session cache inside one worker process. *) Feature: the "satisfy_any" directive. *) Change: the ngx_http_access_module and ngx_http_auth_basic_module do not run for subrequests. *) Feature: the "worker_rlimit_nofile" and "worker_rlimit_sigpending" directives. *) Bugfix: if all backend using in load-balancing failed after one error, then nginx did not try do connect to them during 60 seconds. *) Bugfix: in IMAP/POP3 command argument parsing. Thanks to Rob Mueller. *) Bugfix: errors while using SSL in IMAP/POP3 proxy. *) Bugfix: errors while using SSI and gzipping. *) Bugfix: the "Expires" and "Cache-Control" header lines were omitted from the 304 responses. Thanks to Alexandr Kukushkin.
2004-11-20nginx-0.1.8-RELEASE importrelease-0.1.8Igor Sysoev1-0/+3
*) Bugfix: in the ngx_http_autoindex_module if the long file names were in the listing. *) Feature: the "^~" modifier in the location directive. *) Feature: the proxy_max_temp_file_size directive.
2004-11-11nginx-0.1.5-RELEASE importrelease-0.1.5Igor Sysoev1-1/+1
*) 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-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/+6
2004-03-14nginx-0.0.2-2004-03-14-23:46:25 importIgor Sysoev1-0/+2
2004-03-04nginx-0.0.2-2004-03-04-10:04:55 importIgor Sysoev1-1/+4
2003-11-16nginx-0.0.1-2003-11-17-00:49:42 importIgor Sysoev1-0/+5
2003-06-03nginx-0.0.1-2003-06-03-19:42:58 importIgor Sysoev1-10/+12
2003-04-11nginx-0.0.1-2003-04-11-20:01:14 importIgor Sysoev1-0/+2
2003-03-11nginx-0.0.1-2003-03-11-23:38:13 importIgor Sysoev1-0/+1
2003-01-15nginx-0.0.1-2003-01-15-10:02:27 importIgor Sysoev1-1/+1
2003-01-10nginx-0.0.1-2003-01-10-20:45:47 importIgor Sysoev1-0/+1
2002-12-02nginx-0.0.1-2002-12-02-19:09:40 import; resume after 2 months stallIgor Sysoev1-0/+1
2002-09-02nginx-0.0.1-2002-09-02-18:48:24 importIgor Sysoev1-2/+4
2002-08-20nginx-0.0.1-2002-08-20-18:48:28 importIgor Sysoev1-0/+1