comparison src/mail/ngx_mail.c @ 2224:109849282793

*) listen ssl *) no default ssl_cetificate and ssl_cetificate_key
author Igor Sysoev <igor@sysoev.ru>
date Mon, 01 Sep 2008 14:19:01 +0000
parents 74477ea8074f
children d478379e51ac
comparison
equal deleted inserted replaced
2223:005fc65f7ce7 2224:109849282793
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 }