comparison src/core/ngx_core.h @ 546:e19e5f542878 NGINX_0_8_25

nginx 0.8.25 *) Change: now no message is written in an error log if a variable is not found by $r->variable() method. *) Feature: the ngx_http_degradation_module. *) Feature: regular expression named captures. *) Feature: now URI part is not required a "proxy_pass" directive if variables are used. *) Feature: now the "msie_padding" directive works for Chrome too. *) Bugfix: a segmentation fault occurred in a worker process on low memory condition; the bug had appeared in 0.8.18. *) Bugfix: nginx sent gzipped responses to clients those do not support gzip, if "gzip_static on" and "gzip_vary off"; the bug had appeared in 0.8.16.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 Nov 2009 00:00:00 +0300
parents 86dad910eeb6
children 8dc007eddbcf
comparison
equal deleted inserted replaced
545:91e4b06e1a01 546:e19e5f542878
81 #define LF (u_char) 10 81 #define LF (u_char) 10
82 #define CR (u_char) 13 82 #define CR (u_char) 13
83 #define CRLF "\x0d\x0a" 83 #define CRLF "\x0d\x0a"
84 84
85 85
86 #define ngx_abs(value) (((value) >= 0) ? (value) : - (value)) 86 #define ngx_abs(value) (((value) >= 0) ? (value) : - (value))
87 #define ngx_max(val1, val2) ((val1 < val2) ? (val2) : (val1))
88 #define ngx_min(val1, val2) ((val1 > val2) ? (val2) : (val1))
87 89
88 void ngx_cpuinfo(void); 90 void ngx_cpuinfo(void);
89 91
90 92
91 #endif /* _NGX_CORE_H_INCLUDED_ */ 93 #endif /* _NGX_CORE_H_INCLUDED_ */