comparison src/os/unix/ngx_freebsd_init.c @ 358:9121a0a91f47 NGINX_0_6_23

nginx 0.6.23 *) Change: the "off" parameter in the "ssl_session_cache" directive; now this is default parameter. *) Change: the "open_file_cache_retest" directive was renamed to the "open_file_cache_valid". *) Feature: the "open_file_cache_min_uses" directive. *) Feature: the ngx_http_gzip_static_module. *) Feature: the "gzip_disable" directive. *) Feature: the "memcached_pass" directive may be used inside the "if" block. *) Bugfix: a segmentation fault occurred in worker process, if the "memcached_pass" and "if" directives were used in the same location. *) Bugfix: if a "satisfy_any on" directive was used and not all access and auth modules directives were set, then other given access and auth directives were not tested; *) Bugfix: regex parameters in a "valid_referers" directive were not inherited from previous level. *) Bugfix: a "post_action" directive did run if a request was completed with 499 status code. *) Bugfix: optimization of 16K buffer usage in a SSL connection. Thanks to Ben Maurer. *) Bugfix: the STARTTLS in SMTP mode did not work. Thanks to Oleg Motienko. *) Bugfix: in HTTPS mode requests might fail with the "bad write retry" error; bug appeared in 0.5.13.
author Igor Sysoev <http://sysoev.ru>
date Thu, 27 Dec 2007 00:00:00 +0300
parents 583decdb82a4
children
comparison
equal deleted inserted replaced
357:16d557a75356 358:9121a0a91f47
21 21
22 /* FreeBSD 5.0 */ 22 /* FreeBSD 5.0 */
23 int ngx_freebsd_kern_ipc_zero_copy_send; 23 int ngx_freebsd_kern_ipc_zero_copy_send;
24 24
25 25
26 ngx_uint_t ngx_freebsd_sendfile_nbytes_bug; 26 ngx_uint_t ngx_freebsd_sendfile_nbytes_bug;
27 ngx_uint_t ngx_freebsd_use_tcp_nopush; 27 ngx_uint_t ngx_freebsd_use_tcp_nopush;
28 ngx_uint_t ngx_freebsd_debug_malloc;
28 29
29 30
30 static ngx_os_io_t ngx_freebsd_io = { 31 static ngx_os_io_t ngx_freebsd_io = {
31 ngx_unix_recv, 32 ngx_unix_recv,
32 ngx_readv_chain, 33 ngx_readv_chain,
84 _malloc_options = "J"; 85 _malloc_options = "J";
85 #else 86 #else
86 malloc_options = "J"; 87 malloc_options = "J";
87 #endif 88 #endif
88 89
90 ngx_freebsd_debug_malloc = 1;
91
92 #else
93 char *mo;
94
95 mo = getenv("MALLOC_OPTIONS");
96
97 if (mo && ngx_strchr(mo, 'J')) {
98 ngx_freebsd_debug_malloc = 1;
99 }
89 #endif 100 #endif
90 } 101 }
91 102
92 103
93 ngx_int_t 104 ngx_int_t