Skip to content

Commit 52b76a7

Browse files
committed
removed some dead code from the stream cosocket implementation.
1 parent d6bc02e commit 52b76a7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/ngx_http_lua_socket_tcp.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@
1818
#include "ngx_http_lua_probe.h"
1919

2020

21-
#if 1
22-
#undef ngx_http_lua_probe_info
23-
#define ngx_http_lua_probe_info(msg)
24-
#endif
25-
26-
2721
static int ngx_http_lua_socket_tcp(lua_State *L);
2822
static int ngx_http_lua_socket_tcp_connect(lua_State *L);
2923
static int ngx_http_lua_socket_tcp_receive(lua_State *L);
@@ -4304,10 +4298,6 @@ ngx_http_lua_socket_tcp_resume(ngx_http_request_t *r)
43044298

43054299
coctx = ctx->cur_co_ctx;
43064300

4307-
#if 0
4308-
ngx_http_lua_probe_info("tcp resume");
4309-
#endif
4310-
43114301
dd("coctx: %p", coctx);
43124302

43134303
u = coctx->data;

0 commit comments

Comments
 (0)