summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_errno.h (follow)
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: additional error code NGX_EEXIST_FILE (ticket #910).Maxim Dounin1-0/+1
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-1/+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-02-13Added openat()/fstatat().Andrey Belov1-0/+5
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2010-11-25use copied strerror() messages and autoconfigured sys_nerr valueIgor Sysoev1-24/+2
2010-07-03HP/UX uses EWOULDBLOCK instead of EAGAINIgor Sysoev1-1/+5
2010-03-12use sys_errlist[] in signal handler insteadIgor Sysoev1-1/+13
of non Async-Signal-Safe strerror_r()
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-0/+1
2008-01-25add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWNIgor Sysoev1-0/+3
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.
2005-05-23nginx-0.1.33-RELEASE importrelease-0.1.33Igor Sysoev1-1/+1
*) Bugfix: nginx could not be built with the --without-pcre parameter; the bug had appeared in 0.1.29. *) Bugfix: 3, 4, 7, and 8 the "proxy_set_header" directives in one level cause the bus fault on start up. *) Bugfix: the HTTP protocol was specified in the HTTPS redirects. *) Bugfix: if the "rewrite" directive used the captures inside the "if" directive, then the 500 error code was returned.
2005-03-19nginx-0.1.25-RELEASE importrelease-0.1.25Igor Sysoev1-3/+3
*) Bugfix: nginx did run on Linux parisc. *) Feature: nginx now does not start under FreeBSD if the sysctl kern.ipc.somaxconn value is too big. *) Bugfix: if a request was internally redirected by the ngx_http_index_module module to the ngx_http_proxy_module or ngx_http_fastcgi_module modules, then the index file was not closed after request completion. *) Feature: the "proxy_pass" can be used in location with regular expression. *) Feature: the ngx_http_rewrite_filter_module module supports the condition like "if ($HTTP_USER_AGENT ~ MSIE)". *) Bugfix: nginx started too slow if the large number of addresses and text values were used in the "geo" directive. *) Change: a variable name must be declared as "$name" in the "geo" directive. The previous variant without "$" is still supported, but will be removed soon. *) Feature: the "%{VARIABLE}v" logging parameter. *) Feature: the "set $name value" directive. *) Bugfix: gcc 4.0 compatibility. *) Feature: the --with-openssl-opt=OPTIONS autoconfiguration directive.
2004-11-25nginx-0.1.9-RELEASE importrelease-0.1.9Igor Sysoev1-1/+1
*) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; the bug had appeared in 0.1.8.
2004-11-20nginx-0.1.8-RELEASE importrelease-0.1.8Igor Sysoev1-0/+1
*) 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-2/+2
*) 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-25nginx-0.1.3-RELEASE importrelease-0.1.3Igor Sysoev1-0/+2
*) Feature: the ngx_http_autoindex_module and the autoindex directive. *) Feature: the proxy_set_x_url directive. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used.
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-07-07nginx-0.0.7-2004-07-07-19:01:00 importIgor Sysoev1-0/+2
2004-04-20nginx-0.0.3-2004-04-20-11:00:43 importIgor Sysoev1-0/+1
2004-03-16nginx-0.0.3-2004-03-16-16:35:20 importIgor Sysoev1-1/+1
2004-03-14nginx-0.0.2-2004-03-14-23:46:25 importIgor Sysoev1-0/+2
2004-02-10nginx-0.0.2-2004-02-10-19:23:38 importIgor Sysoev1-3/+3
2004-02-02nginx-0.0.2-2004-02-03-00:19:52 importIgor Sysoev1-0/+1
2004-01-05nginx-0.0.1-2004-01-05-23:55:48 importIgor Sysoev1-0/+1
2003-12-25nginx-0.0.1-2003-12-25-23:26:58 importIgor Sysoev1-1/+3
2003-12-14nginx-0.0.1-2003-12-14-23:10:27 importIgor Sysoev1-3/+8
2003-11-19nginx-0.0.1-2003-11-19-19:26:41 importIgor Sysoev1-0/+1
2003-11-16nginx-0.0.1-2003-11-17-00:49:42 importIgor Sysoev1-0/+3
2003-06-03nginx-0.0.1-2003-06-03-19:42:58 importIgor Sysoev1-0/+1
2003-05-30nginx-0.0.1-2003-05-30-18:27:59 importIgor Sysoev1-0/+2
2003-05-29nginx-0.0.1-2003-05-29-17:02:09 importIgor Sysoev1-0/+2
2003-05-23nginx-0.0.1-2003-05-23-15:53:01 importIgor Sysoev1-1/+1
2003-04-11nginx-0.0.1-2003-04-11-20:01:14 importIgor Sysoev1-0/+1
2003-03-11nginx-0.0.1-2003-03-11-23:38:13 importIgor Sysoev1-0/+2
2003-02-06nginx-0.0.1-2003-02-06-20:21: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
2003-01-10nginx-0.0.1-2003-01-10-09:09:20 importIgor Sysoev1-0/+1