Mercurial > hg > nginx-ranges
comparison src/mail/ngx_mail.c @ 410:a094317ba307 NGINX_0_7_14
nginx 0.7.14
*) Change: now the ssl_certificate and ssl_certificate_key directives
have not default values.
*) Feature: the "listen" directive supports the "ssl" parameter.
*) Feature: now nginx takes into account a time zone change while
reconfiguration on FreeBSD and Linux.
*) Bugfix: the "listen" directive parameters such as "backlog",
"rcvbuf", etc. were not set, if a default server was not the first
one.
*) Bugfix: if URI part captured by a "rewrite" directive was used as a
query string, then the query string was not escaped.
*) Bugfix: configuration file validity test improvements.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 01 Sep 2008 00:00:00 +0400 |
parents | 6ebbca3d5ed7 |
children | ed5e10fb40fc |
comparison
equal
deleted
inserted
replaced
409:d46814b99ca0 | 410:a094317ba307 |
---|---|
259 } | 259 } |
260 | 260 |
261 in_addr->addr = imls[l].addr; | 261 in_addr->addr = imls[l].addr; |
262 in_addr->ctx = imls[l].ctx; | 262 in_addr->ctx = imls[l].ctx; |
263 in_addr->bind = imls[l].bind; | 263 in_addr->bind = imls[l].bind; |
264 #if (NGX_MAIL_SSL) | |
265 in_addr->ssl = imls[l].ssl; | |
266 #endif | |
264 } | 267 } |
265 | 268 |
266 /* optimize the lists of ports and addresses */ | 269 /* optimize the lists of ports and addresses */ |
267 | 270 |
268 /* AF_INET only */ | 271 /* AF_INET only */ |
368 | 371 |
369 len = ngx_sprintf(text + len, ":%d", in_port[p].port) - text; | 372 len = ngx_sprintf(text + len, ":%d", in_port[p].port) - text; |
370 | 373 |
371 imip->addrs[i].addr_text.len = len; | 374 imip->addrs[i].addr_text.len = len; |
372 imip->addrs[i].addr_text.data = text; | 375 imip->addrs[i].addr_text.data = text; |
376 | |
377 #if (NGX_MAIL_SSL) | |
378 imip->addrs[i].ssl = in_addr[i].ssl; | |
379 #endif | |
373 } | 380 } |
374 | 381 |
375 if (done) { | 382 if (done) { |
376 break; | 383 break; |
377 } | 384 } |