Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4818 - trunk/src/mail

Anonymous User
August 17, 2012 01:10AM
Author: ru
Date: 2012-08-17 05:08:42 +0000 (Fri, 17 Aug 2012)
New Revision: 4818
URL: http://trac.nginx.org/nginx/changeset/4818/nginx

Log:
Mail: fixed sorting of listen addresses (ticket #187).

For http module this problem was already fixed in r4756.


Modified:
trunk/src/mail/ngx_mail.c

Modified: trunk/src/mail/ngx_mail.c
===================================================================
--- trunk/src/mail/ngx_mail.c 2012-08-16 13:01:41 UTC (rev 4817)
+++ trunk/src/mail/ngx_mail.c 2012-08-17 05:08:42 UTC (rev 4818)
@@ -539,6 +539,11 @@
return 1;
}

+ if (second->wildcard) {
+ /* a wildcard must be the last resort, shift it to the end */
+ return -1;
+ }
+
if (first->bind && !second->bind) {
/* shift explicit bind()ed addresses to the start */
return -1;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4818 - trunk/src/mail

Anonymous User 1066 August 17, 2012 01:10AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready