Skip to content

Commit 32d3f58

Browse files
committed
feature: add ngx.fs API for async file operation by nginx worker_thread
1 parent f4c76d8 commit 32d3f58

File tree

5 files changed

+2500
-0
lines changed

5 files changed

+2500
-0
lines changed

config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ HTTP_LUA_SRCS=" \
303303
$ngx_addon_dir/src/ngx_http_lua_input_filters.c \
304304
$ngx_addon_dir/src/ngx_http_lua_pipe.c \
305305
$ngx_addon_dir/src/ngx_http_lua_worker_thread.c \
306+
$ngx_addon_dir/src/ngx_http_lua_async_fs.c \
306307
"
307308

308309
HTTP_LUA_DEPS=" \
@@ -369,6 +370,7 @@ HTTP_LUA_DEPS=" \
369370
$ngx_addon_dir/src/ngx_http_lua_input_filters.h \
370371
$ngx_addon_dir/src/ngx_http_lua_pipe.h \
371372
$ngx_addon_dir/src/ngx_http_lua_worker_thread.h \
373+
$ngx_addon_dir/src/ngx_http_lua_async_fs.h \
372374
"
373375

374376
# ----------------------------------------

0 commit comments

Comments
 (0)