summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-08-06Merge of r4756: fixed listen addresses sorting (ticket #187)Maxim Dounin1-0/+5
Fixed sorting of listen addresses so that wildcard address is always at the end. Failure to do so could result in several listen sockets to be created instead of only one listening on wildcard address. Reported by Roman Odaisky.
2012-04-03Fixed spelling in multiline C comments.Ruslan Ermilov1-1/+1
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-12-05Added the "so_keepalive=" parameter to the "listen" directive.Valentin Bartenev1-0/+7
The "so_keepalive" directive in mail module was deprecated. Thanks to Vsevolod Stakhov for initial work.
2011-09-27Fixed segmentation fault with empty config on Windows.Maxim Dounin1-3/+5
See here for report: http://mailman.nginx.org/pipermail/nginx-ru/2011-September/043288.html
2011-09-23Fixed error message.Ruslan Ermilov1-1/+1
2011-09-19Replaced "can not" with "cannot" and "could not" in a bunch of places.Ruslan Ermilov1-1/+1
Fixed nearby grammar errors.
2010-12-12always run regex in server_name to get captures for IPv6 addresses,Igor Sysoev1-1/+5
the same fix for IPv4 addresses has been made in r2584
2010-12-12test wildcard tail hash existance for IPv6 addresses,Igor Sysoev1-2/+2
the same fix for IPv4 addresses has been made in r2581
2010-12-12style fixIgor Sysoev1-1/+1
2010-09-28nginx uses SSL mode for a listen socket with any option set,Igor Sysoev1-1/+1
the bug has been introduced in r3765
2010-09-27allow duplicate listen ssl optionsIgor Sysoev1-0/+10
2010-08-02ngx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf()Igor Sysoev1-33/+75
may be used at merge phase
2010-07-05listen setfib=XIgor Sysoev1-0/+4
2010-06-18return code textIgor Sysoev1-2/+2
2009-12-22fix building by gcc 4.4 with -O2/3/s:Igor Sysoev1-9/+9
dereferencing pointer 'sin' does break strict-aliasing rules
2009-11-30support "*" in gzip_types, ssi_types, etcIgor Sysoev1-7/+26
2009-10-28style fixIgor Sysoev1-1/+1
2009-10-28fix segfault if http {} block is empty, the bug had been introduced in r3218Igor Sysoev1-0/+4
2009-10-26http listen unix domain socketsIgor Sysoev1-0/+16
2009-10-22fix r3225 and r3227: preserve default_server bit during listen optionsIgor Sysoev1-2/+8
overwriting
2009-10-22test a duplicate listen in a serverIgor Sysoev1-0/+11
2009-10-22fix r3225: it overrode the listen options by default server default optionsIgor Sysoev1-4/+8
2009-10-21allow to set listen options in any serverIgor Sysoev1-0/+6
2009-10-21add listen address in error messageIgor Sysoev1-1/+1
2009-10-21rename core_srv_conf fields to more understandable default_server and serverIgor Sysoev1-7/+7
2009-10-21*) move sockaddr to the listen optionsIgor Sysoev1-20/+18
*) rename ngx_http_listen_t to ngx_http_listen_opt_t
2009-10-21fix r3218:Igor Sysoev1-75/+64
Initially building lists of ports, addresses, and server names had been placed at final configuration stage, because complete set of the "listen"s and the "server_names" were required for this operation. r3218 broke it, because the "listen"s go usually first in configuration, and cscf->server_names is empty at this stage, therefore no virtual names were configured. Now server configurations are stored in array for each address:port to configure virtual names. Also regex captures flag is moved from server names to core server configuration.
2009-10-21refactor http listen code: remove duplicate options fieldsIgor Sysoev1-19/+9
2009-10-21refactor http listen code:Igor Sysoev1-82/+41
*) add listen's to the global cmcf->ports array instead of server's one *) rename ngx_http_listen_conf_t to ngx_http_listen_opt_t
2009-09-12If .domain.com, .sub.domain.com, and .domain-some.com were defined,Igor Sysoev1-1/+1
then .sub.domain.com was matched by .domain.com: wildcard names hash was built incorrectly due to sorting order issue of "." vs "-". They were sorted as com.domain com.domain-some com.domain.sub while they should be sorted as com.domain com.domain.sub com.domain-some for correct hash building
2009-05-17update comments missed in r2513Igor Sysoev1-3/+3
2009-05-17update variable name missed in r2513Igor Sysoev1-4/+4
2009-05-05ngx_create_listening()Igor Sysoev1-41/+1
2009-04-30*) refactor error_log processing: listen socket log might inherit built-inIgor Sysoev1-1/+1
error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames
2009-04-09backout r2535: virtual names is a property of address:port pair,Igor Sysoev1-2/+2
but is not a property of server configuration
2009-04-08style fixIgor Sysoev1-10/+10
2009-03-19always run regex in server_name to get capturesIgor Sysoev1-2/+11
2009-03-19test wildcard tail hash existanceIgor Sysoev1-2/+2
2009-03-13ipv6onlyIgor Sysoev1-0/+4
2009-02-24move r->virtual_names to ngx_http_core_srv_conf_tIgor Sysoev1-2/+2
2009-02-24axe r->port_textIgor Sysoev1-17/+8
2009-02-23axe unneeded port fieldIgor Sysoev1-2/+0
2009-02-21a prelimiary IPv6 support, HTTP listenIgor Sysoev1-209/+383
2009-02-18split ports, addresses, and server names preparation and optimizationIgor Sysoev1-187/+205
2008-12-15try_filesIgor Sysoev1-1/+10
2008-09-05remove unused #include'sIgor Sysoev1-1/+0
2008-09-01*) listen sslIgor Sysoev1-0/+10
*) no default ssl_cetificate and ssl_cetificate_key
2008-09-01style fix: remove tabs and trailing spacesIgor Sysoev1-3/+3
2008-08-29set listen configuration to default server,Igor Sysoev1-0/+1
this fixes the case, when default server is not the first one