Mercurial > hg > nginx-vendor-0-6
comparison src/event/ngx_event_openssl.c @ 376:d13234035cad NGINX_0_6_32
nginx 0.6.32
*) Change: the "none" parameter in the "ssl_session_cache" directive;
now this is default parameter.
Thanks to Rob Mueller.
*) Change: now the 0x00-0x1F, '"' and '\' characters are escaped as
\xXX in an access_log.
Thanks to Maxim Dounin.
*) Change: now nginx allows several "Host" request header line.
*) Feature: the "modified" flag in the "expires" directive.
*) Feature: the $uid_got and $uid_set variables may be used at any
request processing stage.
*) Feature: the $hostname variable.
Thanks to Andrei Nigmatulin.
*) Feature: DESTDIR support.
Thanks to Todd A. Fisher and Andras Voroskoi.
*) Bugfix: if sub_filter and SSI were used together, then responses
might were transferred incorrectly.
*) Bugfix: large SSI inclusions might be truncated.
*) Bugfix: the "proxy_pass" directive did not work with the HTTPS
protocol; the bug had appeared in 0.6.9.
*) Bugfix: worker processes might not catch reconfiguration and log
rotation signals.
*) Bugfix: nginx could not be built on latest Fedora 9 Linux.
Thanks to Roxis.
*) Bugfix: a segmentation fault might occur in worker process on Linux,
if keepalive was enabled.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 07 Jul 2008 00:00:00 +0400 |
parents | 6639b93e81b2 |
children | fc497c1dfb7c |
comparison
equal
deleted
inserted
replaced
375:52f3c9c7eff0 | 376:d13234035cad |
---|---|
588 | 588 |
589 continue; | 589 continue; |
590 } | 590 } |
591 | 591 |
592 if (bytes) { | 592 if (bytes) { |
593 | |
594 if (n == 0 || n == NGX_ERROR) { | |
595 c->read->ready = 1; | |
596 } | |
597 | |
593 return bytes; | 598 return bytes; |
594 } | 599 } |
595 | 600 |
596 return n; | 601 return n; |
597 } | 602 } |
1265 if (builtin_session_cache == NGX_SSL_NO_SCACHE) { | 1270 if (builtin_session_cache == NGX_SSL_NO_SCACHE) { |
1266 SSL_CTX_set_session_cache_mode(ssl->ctx, SSL_SESS_CACHE_OFF); | 1271 SSL_CTX_set_session_cache_mode(ssl->ctx, SSL_SESS_CACHE_OFF); |
1267 return NGX_OK; | 1272 return NGX_OK; |
1268 } | 1273 } |
1269 | 1274 |
1275 if (builtin_session_cache == NGX_SSL_NONE_SCACHE) { | |
1276 | |
1277 /* | |
1278 * If the server explicitly says that it does not support | |
1279 * session reuse (see SSL_SESS_CACHE_OFF above), then | |
1280 * Outlook Express fails to upload a sent email to | |
1281 * the Sent Items folder on the IMAP server via a separate IMAP | |
1282 * connection in the background. Therefore we have a special | |
1283 * mode (SSL_SESS_CACHE_SERVER|SSL_SESS_CACHE_NO_INTERNAL_STORE) | |
1284 * where the server pretends that it supports session reuse, | |
1285 * but it does not actually store any session. | |
1286 */ | |
1287 | |
1288 SSL_CTX_set_session_cache_mode(ssl->ctx, | |
1289 SSL_SESS_CACHE_SERVER | |
1290 |SSL_SESS_CACHE_NO_AUTO_CLEAR | |
1291 |SSL_SESS_CACHE_NO_INTERNAL_STORE); | |
1292 | |
1293 SSL_CTX_sess_set_cache_size(ssl->ctx, 1); | |
1294 | |
1295 return NGX_OK; | |
1296 } | |
1297 | |
1270 cache_mode = SSL_SESS_CACHE_SERVER; | 1298 cache_mode = SSL_SESS_CACHE_SERVER; |
1271 | 1299 |
1272 if (shm_zone && builtin_session_cache == NGX_SSL_NO_BUILTIN_SCACHE) { | 1300 if (shm_zone && builtin_session_cache == NGX_SSL_NO_BUILTIN_SCACHE) { |
1273 cache_mode |= SSL_SESS_CACHE_NO_INTERNAL; | 1301 cache_mode |= SSL_SESS_CACHE_NO_INTERNAL; |
1274 } | 1302 } |