summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_connection.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-02-05Merge of r4406, r4413: copyrights updated.Maxim Dounin1-0/+1
2011-11-01Merging r4017:Igor Sysoev1-1/+1
Move SO_ACCEPTFILTER and TCP_DEFER_ACCEPT checks into configure. NetBSD 5.0+ has SO_ACCEPTFILTER support merged from FreeBSD, and having accept filter check in FreeBSD-specific ngx_freebsd_config.h prevents it from being used on NetBSD. Therefore move the check into configure (and do the same for Linux-specific TCP_DEFER_ACCEPT, just to be in line).
2011-04-04reuse keepalive connections if there are no free worker connectionsIgor Sysoev1-0/+55
patch by Maxim Dounin
2010-07-05listen setfib=XIgor Sysoev1-0/+36
2010-05-31fix IPv6 and Unix domain sockets inheritance while online upgradeIgor Sysoev1-4/+2
2009-11-30chmod unix listen domain socket to 0666Igor Sysoev1-5/+16
2009-11-23add NGX_PROCESS_HELPER process statusIgor Sysoev1-1/+1
2009-11-04allow to inherit unix domain sockets while online upgradeIgor Sysoev1-2/+9
2009-11-01delete unused field c->local_socklenIgor Sysoev1-1/+0
2009-10-30do not unlink unix domain socket file while online upgradeIgor Sysoev1-1/+2
2009-10-30unlink unix domain socket file after testingIgor Sysoev1-0/+12
2009-10-26http listen unix domain socketsIgor Sysoev1-11/+34
2009-09-23low default connection errors level from alert to errorIgor Sysoev1-5/+1
2009-06-07update r2925Igor Sysoev1-0/+2
2009-05-18ngx_connection_local_sockaddr()Igor Sysoev1-0/+60
2009-05-05ngx_create_listening()Igor Sysoev1-0/+58
2009-05-05move listen log copying from ngx_open_listening_sockets()Igor Sysoev1-2/+2
to ngx_configure_listening_sockets(), otherwise listen socket logs have no file after first reload and this caused segfault if debug_connection was used; the bug has been introduced in r2786
2009-05-05use correct nameIgor Sysoev1-1/+1
2009-05-05use local variableIgor Sysoev1-2/+2
2009-05-04delete ngx_listening_inet_stream_socket()Igor Sysoev1-46/+0
2009-04-30*) refactor error_log processing: listen socket log might inherit built-inIgor Sysoev1-0/+2
error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames
2009-04-29fix the previous commitIgor Sysoev1-7/+5
2009-04-29Winsock uses ECONNABORTED instead of ECONNRESETIgor Sysoev1-2/+13
2009-04-20Win32 master/workers modelIgor Sysoev1-15/+17
2009-03-13ipv6onlyIgor Sysoev1-0/+17
2009-03-12ignore EINVAL from setsockopt() on SolarisIgor Sysoev1-3/+8
2009-02-21a prelimiary IPv6 support, HTTP listenIgor Sysoev1-13/+17
2008-09-17fix grammarIgor Sysoev1-1/+1
2008-08-21ngx_sock_ntop() takes family from sockaddr, remove duplicate fieldIgor Sysoev1-5/+3
2008-08-21*) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()Igor Sysoev1-6/+7
*) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop() as they are called just once per connection *) NGX_INET_ADDRSTRLEN
2008-06-17*) back out r2040Igor Sysoev1-3/+3
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2008-05-22style fixIgor Sysoev1-1/+1
2008-03-05decrease log level of connection errors while closing socketIgor Sysoev1-3/+29
2008-01-25add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWNIgor Sysoev1-0/+3
2008-01-08workaround for Linux 2.6 OpenVZIgor Sysoev1-5/+13
2007-08-29log socket numberIgor Sysoev1-1/+1
2007-08-09set default listen() backlog to 511 on all platforms except FreeBSDIgor Sysoev1-1/+1
2007-05-30add commentIgor Sysoev1-0/+3
2007-05-30do listen() just after bind() to exit earlyIgor Sysoev1-0/+14
2007-05-30style fixIgor Sysoev1-3/+6
2007-05-29change wordingIgor Sysoev1-3/+2
2007-05-29fix segfaultIgor Sysoev1-1/+1
2006-04-17nginx-0.3.39-RELEASE importrelease-0.3.39Igor Sysoev1-0/+15
*) Feature: the "uninitialized_variable_warn" directive; the logging level of the "uninitialized variable" message was lowered from "alert" to "warn". *) Feature: the "override_charset" directive. *) Change: now if the unknown variable is used in the "echo" and "if expr='$name'" SSI-commands, then the "unknown variable" message is not logged. *) Bugfix: the active connection counter increased on the exceeding of the connection limit specified by the "worker_connections" directive; the bug had appeared in 0.2.0. *) Bugfix: the limit rate might not work on some condition; the bug had appeared in 0.3.38.
2006-03-28nginx-0.3.35-RELEASE importrelease-0.3.35Igor Sysoev1-18/+19
*) Bugfix: the accept-filter and the TCP_DEFER_ACCEPT option were set for first "listen" directive only; the bug had appeared in 0.3.31. *) Bugfix: in the "proxy_pass" directive without the URI part in a subrequest.
2006-02-08nginx-0.3.27-RELEASE importrelease-0.3.27Igor Sysoev1-2/+1
*) Change: the "variables_hash_max_size" and "variables_hash_bucket_size" directives. *) Feature: the $body_bytes_sent variable can be used not only in the "log_format" directive. *) Feature: the $ssl_protocol and $ssl_cipher variables. *) Feature: the cache line size detection for widespread CPUs at start time. *) Feature: now the "accept_mutex" directive is supported using fcntl(2) on platforms different from i386, amd64, sparc64, and ppc. *) Feature: the "lock_file" directive and the --with-lock-path=PATH autoconfiguration directive. *) Bugfix: if the HTTPS protocol was used in the "proxy_pass" directive then the requests with the body was not transferred.
2006-02-01nginx-0.3.24-RELEASE importrelease-0.3.24Igor Sysoev1-2/+0
*) Workaround: for bug in FreeBSD kqueue. *) Bugfix: now a response generated by the "post_action" directive is not transferred to a client. *) Bugfix: the memory leaks were occurring if many log files were used. *) Bugfix: the first "proxy_redirect" directive was working inside one location. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start if the many names were used in the "server_name" directives; the bug had appeared in 0.3.18.
2005-12-26nginx-0.3.18-RELEASE importrelease-0.3.18Igor Sysoev1-0/+3
*) Feature: the "server_names" directive supports the ".domain.tld" names. *) Feature: the "server_names" directive uses the hash for the "*.domain.tld" names and more effective hash for usual names. *) Change: the "server_names_hash_max_size" and "server_names_hash_bucket_size" directives. *) Change: the "server_names_hash" and "server_names_hash_threshold" directives were canceled. *) Feature: the "valid_referers" directive uses the hash site names. *) Change: now the "valid_referers" directive checks the site names only without the URI part. *) Bugfix: some ".domain.tld" names incorrectly processed by the ngx_http_map_module. *) Bugfix: segmentation fault was occurred if configuration file did not exist; the bug had appeared in 0.3.12. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start; the bug had appeared in 0.3.16.
2005-12-07nginx-0.3.15-RELEASE importrelease-0.3.15Igor Sysoev1-0/+3
*) Feature: the new 444 code of the "return" directive to close connection. *) Feature: the "so_keepalive" directive in IMAP/POP3 proxy. *) Bugfix: if there are unclosed connection nginx now calls abort() only on gracefull quit and active "debug_points" directive.
2005-11-15nginx-0.3.10-RELEASE importrelease-0.3.10Igor Sysoev1-3/+3
*) Change: the "valid_referers" directive and the "$invalid_referer" variable were moved to the new ngx_http_referer_module from the ngx_http_rewrite_module. *) Change: the "$apache_bytes_sent" variable name was changed to "$body_bytes_sent". *) Feature: the "$sent_http_..." variables. *) Feature: the "if" directive supports the "=" and "!=" operations. *) Feature: the "proxy_pass" directive supports the HTTPS protocol. *) Feature: the "proxy_set_body" directive. *) Feature: the "post_action" directive. *) Feature: the ngx_http_empty_gif_module. *) Feature: the "worker_cpu_affinity" directive for Linux. *) Bugfix: the "rewrite" directive did not unescape URI part in redirect, now it is unescaped except the %00-%25 and %7F-%FF characters. *) Bugfix: nginx could not be built by the icc 9.0 compiler. *) Bugfix: if the SSI was enabled for zero size static file, then the chunked response was encoded incorrectly.
2005-10-24nginx-0.3.6-RELEASE importrelease-0.3.6Igor Sysoev1-6/+4
*) Change: now the IMAP/POP3 proxy do not send the empty login to authorization server. *) Feature: the "log_format" supports the variables in the $name form. *) Bugfix: if at least in one server was no the "listen" directive, then nginx did not listen on the 80 port; the bug had appeared in 0.3.3. *) Bugfix: if the URI part is omitted in "proxy_pass" directive, the the 80 port was always used.