aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail.c
Commit message (Collapse)AuthorAge
* Mail: parsing of the PROXY protocol from clients.Maxim Dounin2021-03-05
| | | | | | | Activated with the "proxy_protocol" parameter of the "listen" directive. Obtained information is passed to the auth_http script in Proxy-Protocol-Addr, Proxy-Protocol-Port, Proxy-Protocol-Server-Addr, and Proxy-Protocol-Server-Port headers.
* Multiple addresses in "listen".Roman Arutyunyan2019-03-15
| | | | | | Previously only one address was used by the listen directive handler even if host name resolved to multiple addresses. Now a separate listening socket is created for each address.
* Mail: configurable socket buffer sizes.Vladimir Homutov2017-04-03
| | | | | The "rcvbuf" and "sndbuf" parameters are now supported by the "listen" directive.
* Modules compatibility: removed unneeded IPV6_V6ONLY checks.Maxim Dounin2016-10-03
| | | | | | | | | | The IPV6_V6ONLY macro is now checked only while parsing appropriate flag and when using the macro. The ipv6only field in listen structures is always initialized to 1, even if not supported on a given platform. This is expected to prevent a module compiled without IPV6_V6ONLY from accidentally creating dual sockets if loaded into main binary with proper IPV6_V6ONLY support.
* Introduced ngx_inet_get_port() and ngx_inet_set_port() functions.Roman Arutyunyan2016-06-20
|
* Renamed "u" to "sockaddr" in listen options types.Maxim Dounin2016-05-23
|
* Dynamic modules: changed ngx_modules to cycle->modules.Maxim Dounin2016-02-04
|
* Dynamic modules: moved module-related stuff to separate files.Maxim Dounin2016-02-04
|
* Disabled duplicate http, mail, and stream blocks.Vladimir Homutov2015-06-16
| | | | | Such configurations have very limited use, introduce various problems and are not officially supported.
* Mail: listen backlog=.Ruslan Ermilov2015-06-08
|
* Mail: embed ngx_mail_listen_t into ngx_mail_conf_addr_t.Ruslan Ermilov2015-06-08
|
* Simplified ngx_http_init_listening().Maxim Dounin2015-05-20
| | | | | | | | | | | | | There is no need to set "i" to 0, as it's expected to be 0 assuming the bindings are properly sorted, and we already rely on this when explicitly set hport->naddrs to 1. Remaining conditional code is replaced with identical "hport->naddrs = i + 1". Identical modifications are done in the mail and stream modules, in the ngx_mail_optimize_servers() and ngx_stream_optimize_servers() functions, respectively. No functional changes.
* Removed the deprecated "imap" directive.Ruslan Ermilov2015-04-29
|
* Mail: error_log support.Vladimir Homutov2015-02-20
|
* Mail: fixed a comment.Ruslan Ermilov2015-01-23
|
* Mail: fixed a comment.Valentin Bartenev2014-08-20
| | | | There's no loc_conf in the mail module.
* Style.Maxim Dounin2013-07-11
|
* Core: extended ngx_sock_ntop() with socklen parameter.Vladimir Homutov2013-07-11
| | | | | | On Linux, sockaddr length is required to process unix socket addresses properly due to unnamed sockets (which don't have sun_path set at all) and abstract namespace sockets.
* Mail: fixed handling of AF_UNIX addresses in "listen".Ruslan Ermilov2012-08-17
| | | | This makes AF_UNIX addresses in mail officially supported.
* Mail: fixed sorting of listen addresses (ticket #187).Ruslan Ermilov2012-08-17
| | | | For http module this problem was already fixed in r4756.
* Copyright updated.Maxim Konovalov2012-01-18
|
* Added the "so_keepalive=" parameter to the "listen" directive.Valentin Bartenev2011-12-05
| | | | | | The "so_keepalive" directive in mail module was deprecated. Thanks to Vsevolod Stakhov for initial work.
* mail proxy listen IPv6 supportIgor Sysoev2009-05-18
|
* ngx_create_listening()Igor Sysoev2009-05-05
|
* delete ngx_listening_inet_stream_socket()Igor Sysoev2009-05-04
|
* axe imap module artifactsIgor Sysoev2009-05-04
|
* *) refactor error_log processing: listen socket log might inherit built-inIgor Sysoev2009-04-30
| | | | | | error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames
* *) listen sslIgor Sysoev2008-09-01
| | | | *) no default ssl_cetificate and ssl_cetificate_key
* *) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()Igor Sysoev2008-08-21
| | | | | | *) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop() as they are called just once per connection *) NGX_INET_ADDRSTRLEN
* *) back out r2040Igor Sysoev2008-06-17
| | | | | | *) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
* use ngx_int_t in ngx_sort() callbackIgor Sysoev2008-03-24
|
* ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_moduleIgor Sysoev2007-09-15
|
* set default listen() backlog to 511 on all platforms except FreeBSDIgor Sysoev2007-08-09
|
* use stable search where it is requiredIgor Sysoev2007-05-21
|
* Many changes:Igor Sysoev2007-03-19
*) rename imap to mail, sort pop3/imap functions *) smtp auth support *) pop3 starttls only *) fix segfault if cram-md5 was used without apop