Skip to content

Commit 6eb31d2

Browse files
authored
bugfix: the stream subsystem was built incorrectly in debug mode. (#207)
Fix #205, #206.
1 parent a445407 commit 6eb31d2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/ngx_stream_lua_contentby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ ngx_stream_lua_content_wev_handler(ngx_stream_lua_request_t *r)
145145
return;
146146
}
147147

148-
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
148+
ngx_log_debug0(NGX_LOG_DEBUG_STREAM, r->connection->log, 0,
149149
"lua ngx_stream_lua_content_wev_handler");
150150

151151
(void) ctx->resume_handler(r);

src/ngx_stream_lua_socket_tcp.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2180,8 +2180,6 @@ ngx_stream_lua_socket_tcp_peek_resume(ngx_stream_lua_request_t *r)
21802180
return NGX_ERROR;
21812181
}
21822182

2183-
dd("coctx: %p", coctx);
2184-
21852183
u = ctx->downstream;
21862184
c = r->connection;
21872185
vm = ngx_stream_lua_get_lua_vm(r, ctx);

0 commit comments

Comments
 (0)