Skip to content

Commit 6c713ea

Browse files
committed
removed an unnecessary line of code.
1 parent 34f8f27 commit 6c713ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngx_http_lua_socket.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3357,13 +3357,13 @@ ngx_http_lua_socket_push_input_data(ngx_http_request_t *r,
33573357
dd("copying input data chunk from %p: \"%.*s\"", u->buf_in,
33583358
(int) (b->last - b->pos), b->pos);
33593359

3360-
b->pos = b->last;
3361-
33623360
goto done;
33633361
}
33643362

33653363
/* nbufs > 1 */
33663364

3365+
dd("WARN: allocate a big memory: %d", (int) size);
3366+
33673367
p = ngx_palloc(r->pool, size);
33683368
if (p == NULL) {
33693369
return NGX_ERROR;

0 commit comments

Comments
 (0)