This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2012/05/12 22:03:41 [debug] 4522#0: bind() 0.0.0.0:1984 #6 | |
2012/05/12 22:03:41 [notice] 4522#0: using the "poll" event method | |
2012/05/12 22:03:41 [notice] 4522#0: nginx/1.0.15 | |
2012/05/12 22:03:41 [notice] 4522#0: built by gcc 4.4.3 (GCC) | |
2012/05/12 22:03:41 [notice] 4522#0: OS: Linux 2.6.33.1 | |
2012/05/12 22:03:41 [notice] 4522#0: sysctl(KERN_RTSIGMAX): 0 | |
2012/05/12 22:03:41 [notice] 4522#0: getrlimit(RLIMIT_NOFILE): 119200:119200 | |
2012/05/12 22:03:41 [debug] 4523#0: write: 7, 00007FFF65179D10, 5, 0 | |
2012/05/12 22:03:41 [debug] 4523#0: malloc: 000000000072F3B0:32 | |
2012/05/12 22:03:41 [debug] 4523#0: malloc: 0000000000710F50:24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 1; | |
daemon on; | |
master_process off; | |
error_log /home/agentz/git/lua-nginx-module/t/servroot/logs/error.log debug; | |
pid /home/agentz/git/lua-nginx-module/t/servroot/logs/nginx.pid; | |
env MOCKEAGAIN_VERBOSE; | |
env MOCKEAGAIN; | |
env MOCKEAGAIN_WRITE_TIMEOUT_PATTERN; | |
env LD_PRELOAD; | |
env DYLD_INSERT_LIBRARIES; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c_files=$(wildcard src/ngx_*.c) | |
plist_vfiles=$(patsubst src/%.c,%.plist,$(c_files)) | |
#all: ; echo $(clang_vfiles) | |
.PHONY: clang | |
clang: $(plist_vfiles) | |
%.plist: src/%.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ngx_http_lua_regex.c b/src/ngx_http_lua_regex.c | |
index 41d0701..7772cbe 100644 | |
--- a/src/ngx_http_lua_regex.c | |
+++ b/src/ngx_http_lua_regex.c | |
@@ -1097,6 +1097,10 @@ ngx_http_lua_ngx_re_parse_opts(lua_State *L, ngx_lua_regex_compile_t *re, | |
re->options |= PCRE_UTF8; | |
break; | |
+ case 'U': | |
+ re->options |= PCRE_UTF8|PCRE_NO_UTF8_CHECK; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ngx_http_lua_regex.c b/src/ngx_http_lua_regex.c | |
index 63f0a1a..0ae60bc 100644 | |
--- a/src/ngx_http_lua_regex.c | |
+++ b/src/ngx_http_lua_regex.c | |
@@ -38,6 +38,7 @@ | |
#define NGX_LUA_RE_MODE_DFA (1<<1) | |
#define NGX_LUA_RE_MODE_JIT (1<<2) | |
#define NGX_LUA_RE_MODE_DUPNAMES (1<<3) | |
+#define NGX_LUA_RE_NO_UTF8_CHECK (1<<4) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ngx_http_lua_headers_in.c b/src/ngx_http_lua_headers_in.c | |
index 9dd5a83..f4413b6 100644 | |
--- a/src/ngx_http_lua_headers_in.c | |
+++ b/src/ngx_http_lua_headers_in.c | |
@@ -23,6 +23,8 @@ static ngx_int_t ngx_http_set_header_helper(ngx_http_request_t *r, | |
ngx_table_elt_t **output_header, unsigned no_create); | |
static ngx_int_t ngx_http_set_builtin_header(ngx_http_request_t *r, | |
ngx_http_lua_header_val_t *hv, ngx_str_t *value); | |
+static ngx_int_t ngx_http_set_user_agent_header(ngx_http_request_t *r, | |
+ ngx_http_lua_header_val_t *hv, ngx_str_t *value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ngx_http_lua_headers_in.c b/src/ngx_http_lua_headers_in.c | |
index f4413b6..bd4af76 100644 | |
--- a/src/ngx_http_lua_headers_in.c | |
+++ b/src/ngx_http_lua_headers_in.c | |
@@ -25,6 +25,8 @@ static ngx_int_t ngx_http_set_builtin_header(ngx_http_request_t *r, | |
ngx_http_lua_header_val_t *hv, ngx_str_t *value); | |
static ngx_int_t ngx_http_set_user_agent_header(ngx_http_request_t *r, | |
ngx_http_lua_header_val_t *hv, ngx_str_t *value); | |
+static ngx_int_t ngx_http_set_connection_header(ngx_http_request_t *r, | |
+ ngx_http_lua_header_val_t *hv, ngx_str_t *value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ngx_http_lua_headers_in.c b/src/ngx_http_lua_headers_in.c | |
index 9dd5a83..425005c 100644 | |
--- a/src/ngx_http_lua_headers_in.c | |
+++ b/src/ngx_http_lua_headers_in.c | |
@@ -23,6 +23,12 @@ static ngx_int_t ngx_http_set_header_helper(ngx_http_request_t *r, | |
ngx_table_elt_t **output_header, unsigned no_create); | |
static ngx_int_t ngx_http_set_builtin_header(ngx_http_request_t *r, | |
ngx_http_lua_header_val_t *hv, ngx_str_t *value); | |
+static ngx_int_t ngx_http_set_connection(ngx_http_request_t *r, | |
+ ngx_http_lua_header_val_t *hv, ngx_str_t *value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[112186.086052] INFO: rcu_sched self-detected stall on CPU { 10} (t=6000 jiffies g=1519966 c=1519965 q=3) | |
[112186.096687] Pid: 47, comm: migration/10 Tainted: G O 3.9.4 #1 | |
[112186.105319] Call Trace: | |
[112186.106073] INFO: rcu_sched detected stalls on CPUs/tasks: { 10 11} (detected by 9, t=6002 jiffies, g=1519966, c=1519965, q=3) | |
[112186.106074] Task dump for CPU 10: | |
[112186.106077] migration/10 R running task 0 47 2 0x00000000 | |
[112186.106080] 0000000000000000 ffffffff814f5c4a 0000000000013c40 ffff880c240bbfd8 | |
[112186.106082] 000000002767820c ffff880c2403b080 ffffffff81a39ba0 ffff880c240b1c50 | |
[112186.106084] ffff880c240b1c50 ffff880c240b1c50 0000000000000000 ffffffff8105a96f | |
[112186.106085] Call Trace: |
OlderNewer