summaryrefslogtreecommitdiffhomepage
path: root/src/mail (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2013-07-11Style.Maxim Dounin1-1/+1
2013-07-11Core: extended ngx_sock_ntop() with socklen parameter.Vladimir Homutov2-3/+6
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.
2013-06-05Mail: fixed possible uninitialized memory access.Maxim Dounin1-0/+4
Found by Valgrind.
2013-05-21Style: remove unnecessary references to HTTP from non-HTTP modules.Piotr Sikora1-2/+2
No functional changes. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
2013-05-10Mail: missing ngx_ssl_ecdh_curve() call.F. da Silva1-0/+4
2013-05-09Mail: removed surplus ngx_close_connection() call.Filipe Da Silva1-1/+0
It is already called for a peer connection a few lines above.
2013-03-25Mail: IPv6 backends (ticket #323).Ruslan Ermilov1-24/+35
2012-12-17Implemented IPv6 support for URLs specified using domain names.Ruslan Ermilov1-1/+0
This includes "debug_connection", upstreams, "proxy_pass", etc. (ticket #92) To preserve compatibility, "listen" specified with a domain name selects the first IPv4 address, if available. If not available, the first IPv6 address will be used (ticket #186).
2012-08-18Whitespace fix.Maxim Dounin1-3/+3
2012-08-17Mail: fixed handling of AF_UNIX addresses in "listen".Ruslan Ermilov2-0/+14
This makes AF_UNIX addresses in mail officially supported.
2012-08-17Removed a stale "AF_INET only" comment.Ruslan Ermilov1-2/+0
IPv6 client connections in mail modules have been supported since r2856.
2012-08-17Mail: fixed sorting of listen addresses (ticket #187).Ruslan Ermilov1-0/+5
For http module this problem was already fixed in r4756.
2012-08-15mail_core: don't let the well-known port in the "listen" directive toRuslan Ermilov1-15/+17
override the already set "protocol".
2012-08-15Corrected the directive name in the ngx_mail_auth_http_module error message.Ruslan Ermilov1-1/+1
2012-07-30Core: ipv6only is now on by default.Ruslan Ermilov2-3/+7
There is a general consensus that this change results in better consistency between different operating systems and differently tuned operating systems. Note: this changes the width and meaning of the ipv6only field of the ngx_listening_t structure. 3rd party modules that create their own listening sockets might need fixing.
2012-07-24Fixed compilation with -Wmissing-prototypes.Ruslan Ermilov1-0/+3
2012-03-05Whitespace fixes.Maxim Dounin1-1/+1
2012-02-28Fixed spelling in single-line comments.Ruslan Ermilov1-1/+1
2012-02-13Time parsing cleanup.Maxim Dounin1-2/+2
Nuke NGX_PARSE_LARGE_TIME, it's not used since 0.6.30. The only error ngx_parse_time() can currently return is NGX_ERROR, check it explicitly and make sure to cast it to appropriate type (either time_t or ngx_msec_t) to avoid signedness warnings on platforms with unsigned time_t (notably QNX).
2012-01-18Copyright updated.Maxim Konovalov18-0/+18
2012-01-11Added support for TLSv1.1, TLSv1.2 in ssl_protocols directive.Maxim Dounin1-1/+4
Support for TLSv1.1 and TLSv1.2 protocols was introduced in OpenSSL 1.0.1 (-beta1 was recently released). This change makes it possible to disable these protocols and/or enable them without other protocols.
2011-12-05Added the "so_keepalive=" parameter to the "listen" directive.Valentin Bartenev3-1/+122
The "so_keepalive" directive in mail module was deprecated. Thanks to Vsevolod Stakhov for initial work.
2011-11-14Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse.Sergey Budnevitch1-1/+1
2011-10-25Fixed port range checking.Ruslan Ermilov1-1/+1
2011-10-24Support of several servers in the "resolver" directive.Igor Sysoev1-14/+3
Patch by Kirill A. Korinskiy.
2011-09-27Fix for "ssl_session_cache builtin" (broken since 1.1.1, r3993).Maxim Dounin1-2/+2
2011-08-04A new fix for the case when ssl_session_cache defined, but ssl is notIgor Sysoev1-0/+2
enabled in any server. The previous r1033 does not help when unused zone becomes used after reconfiguration, so it is backed out. The initial thought was to make SSL modules independed from SSL implementation and to keep OpenSSL code dependance as much as in separate files.
2011-07-20ECDHE supportIgor Sysoev2-1/+14
patch by Adrian Kotelba
2011-07-20MSIE export versions are rare now, so RSA 512 key is generated on demandIgor Sysoev1-3/+1
and is shared among all hosts instead of pregenerating for every HTTPS host on configuraiton phase. This decreases start time for configuration with large number of HTTPS hosts.
2011-06-27use !aNULL to disable all anonymous cipher suitesIgor Sysoev1-1/+1
patch by Rob Stradling
2010-06-23style fixIgor Sysoev1-4/+4
2010-05-14ngx_str_set() and ngx_str_null()Igor Sysoev6-96/+46
2010-04-23Zimbra IMAP server may return only 4 bytes: "+ \r\n"Igor Sysoev1-1/+1
2010-02-12delete surplus codeIgor Sysoev1-2/+0
2009-12-25use "localhost" in "Host" header line, if unix socket is used in "auth_http"Igor Sysoev1-1/+8
2009-11-09*) fix resolving an empty name ("."),Igor Sysoev1-14/+1
*) add quotes in an error message, *) backout r3299 in ngx_mail_smtp_handler.c
2009-11-09fix "PTR ." case in address resolverIgor Sysoev1-0/+13
2009-11-02rename ngx_peer_addr_t to ngx_addr_tIgor Sysoev3-5/+5
2009-11-02replace inet_addr() with ngx_inet_addr()Igor Sysoev1-2/+1
2009-10-07use only strong ciphers by defaultIgor Sysoev1-1/+1
2009-10-06disable SSLv2 and low ciphers by defaultIgor Sysoev1-3/+2
2009-07-23delete OpenSSL pre-0.9.7 compatibility: the sources were not actuallyIgor Sysoev1-32/+0
compatible with OpenSSL 0.9.6 since ssl_session_cache introduction
2009-06-18ignore ngx_atomic_fetch_add() resultIgor Sysoev1-1/+1
this fixes building at least by gcc 4.2.1 on Mac OS X 10.6
2009-06-02return NULL instead of NGX_CONF_ERROR on a create conf failureIgor Sysoev4-6/+6
2009-05-18mail proxy listen IPv6 supportIgor Sysoev6-178/+435
2009-05-05ngx_create_listening()Igor Sysoev1-49/+7
2009-05-04delete ngx_listening_inet_stream_socket()Igor Sysoev1-3/+47
2009-05-04axe imap module artifactsIgor Sysoev3-48/+48
2009-04-30*) refactor error_log processing: listen socket log might inherit built-inIgor Sysoev1-3/+2
error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames
2009-04-27fix building by MSVC8Igor Sysoev1-1/+1