Skip to content

Commit b8d9f06

Browse files
author
Tuure Vartiainen
committed
bugfix: return NGX_OK in ngx_http_lua_ffi_exit when in NGX_HTTP_LUA_CONTEXT_SSL_PSK.
1 parent 99691c5 commit b8d9f06

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ngx_http_lua_control.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,7 @@ ngx_http_lua_ffi_exit(ngx_http_request_t *r, int status, u_char *err,
498498
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
499499
"lua exit with code %d", status);
500500

501-
if (ctx->context == NGX_HTTP_LUA_CONTEXT_SSL_SESS_STORE
502-
|| ctx->context == NGX_HTTP_LUA_CONTEXT_SSL_PSK) {
501+
if (ctx->context == NGX_HTTP_LUA_CONTEXT_SSL_SESS_STORE) {
503502
return NGX_DONE;
504503
}
505504

0 commit comments

Comments
 (0)