annotate src/core/ngx_murmurhash.h @ 4012:bf452af6c1d2
Complain on invalid log levels.
Previously only first log level was required to be correct, while error_log
directive in fact accepts list of levels (e.g. one may specify "error_log ...
debug_core debug_http;"). This resulted in (avoidable) wierd behaviour on
missing semicolon after error_log directive, e.g.
error_log /path/to/log info
index index.php;
silently skipped index directive and it's arguments (trying to interpret
them as log levels without checking to be correct).
author |
Maxim Dounin <mdounin@mdounin.ru> |
date |
Thu, 18 Aug 2011 21:48:13 +0000 |
parents |
203eb026ec07 |
children |
d620f497c50f |
rev |
line source |
3891
|
1
|
|
2 /*
|
|
3 * Copyright (C) Igor Sysoev
|
|
4 */
|
|
5
|
|
6
|
|
7 #ifndef _NGX_MURMURHASH_H_INCLUDED_
|
|
8 #define _NGX_MURMURHASH_H_INCLUDED_
|
|
9
|
|
10
|
|
11 #include <ngx_config.h>
|
|
12 #include <ngx_core.h>
|
|
13
|
|
14
|
|
15 uint32_t ngx_murmur_hash2(u_char *data, size_t len);
|
|
16
|
|
17
|
|
18 #endif /* _NGX_CRC_H_INCLUDED_ */
|