Closed fffonion closed 11 months ago
Can be reproduced by following example:
user www-data; daemon off; master_process off; events { } stream { error_log /dev/stdout info; server { listen 23333; content_by_lua_block { local t = ngx.socket.tcp() t:shutdown("send") } } }
This PR moves the check of u before calling ngx_stream_lua_socket_handle_write_error.
u
ngx_stream_lua_socket_handle_write_error
make sense
Thank you!
Can be reproduced by following example:
This PR moves the check of
u
before callingngx_stream_lua_socket_handle_write_error
.