Skip to content

Commit f83fa0d

Browse files
committed
bugfix: fixed an incorrect error message. thanks aviramc for the patch in #290.
1 parent 4969b87 commit f83fa0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_lua_socket_tcp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ ngx_http_lua_socket_resolve_retval_handler(ngx_http_request_t *r,
10261026
ngx_http_lua_socket_handle_conn_error(r, u,
10271027
NGX_HTTP_LUA_SOCKET_FT_ERROR);
10281028
lua_pushnil(L);
1029-
lua_pushliteral(L, "failed to handle write event");
1029+
lua_pushliteral(L, "failed to handle read event");
10301030
return 2;
10311031
}
10321032

0 commit comments

Comments
 (0)