Skip to content

Commit

Permalink
misc(tcp) disable a debugging assertion
Browse files Browse the repository at this point in the history
It fails when testing aborted connection behavior
with dispatch calls.
  • Loading branch information
thibaultcha committed Nov 4, 2023
1 parent de9eb4c commit e1e3e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/ngx_wasm_socket_tcp_readers.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,9 +623,9 @@ ngx_wasm_read_http_response(ngx_buf_t *src, ngx_chain_t *buf_in, ssize_t bytes,
buf->last = ngx_cpymem(buf->last, p, chunk_len);
}

#if 0
ngx_wasm_assert((size_t) ngx_buf_size(buf) == in_ctx->body_len);

#if 0
dd("body_len: %ld", in_ctx->body_len);

for (ll = in_ctx->body; ll; ll = ll->next) {
Expand Down

0 comments on commit e1e3e9e

Please sign in to comment.