mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 21:51:30 +00:00
lua fixes
This commit is contained in:
@@ -498,8 +498,8 @@ void fastrouter_loop(int id) {
|
||||
|
||||
ufr.mapper = uwsgi_fr_map_use_void;
|
||||
|
||||
if (ufr.use_cache) {
|
||||
ufr.mapper = uwsgi_fr_map_use_cache;
|
||||
if (ufr.use_cache) {
|
||||
ufr.mapper = uwsgi_fr_map_use_cache;
|
||||
}
|
||||
else if (ufr.pattern) {
|
||||
ufr.mapper = uwsgi_fr_map_use_pattern;
|
||||
@@ -511,8 +511,8 @@ void fastrouter_loop(int id) {
|
||||
ufr.mapper = uwsgi_fr_map_use_base;
|
||||
}
|
||||
else if (ufr.code_string_code && ufr.code_string_function) {
|
||||
ufr.mapper = uwsgi_fr_map_use_cache;
|
||||
}
|
||||
ufr.mapper = uwsgi_fr_map_use_cs;
|
||||
}
|
||||
else if (ufr.to_socket) {
|
||||
ufr.mapper = uwsgi_fr_map_use_to;
|
||||
}
|
||||
|
||||
@@ -630,7 +630,6 @@ char *uwsgi_lua_code_string(char *id, char *code, char *func, char *key, uint16_
|
||||
#endif
|
||||
|
||||
if (lua_pcall(L, 1, 1, 0) != 0) {
|
||||
uwsgi_log("CAZZO\n");
|
||||
uwsgi_log("error running function `f': %s",
|
||||
lua_tostring(L, -1));
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user