summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_connection.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-12-10Merge of r4918: cache manager startup with many listen sockets.Maxim Dounin1-0/+2
Fixed failure to start cache manager and cache loader processes if there were more than 512 listening sockets in configuration.
2012-04-03Fixed spelling in multiline C comments.Ruslan Ermilov1-1/+1
2012-03-05Whitespace fixes.Maxim Dounin1-1/+1
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-12-05Added the "so_keepalive=" parameter to the "listen" directive.Valentin Bartenev1-0/+51
The "so_keepalive" directive in mail module was deprecated. Thanks to Vsevolod Stakhov for initial work.
2011-08-21Move SO_ACCEPTFILTER and TCP_DEFER_ACCEPT checks into configure.Maxim Dounin1-1/+1
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.