Fix HttpMessage::get_output_body_blocks bug.

This commit is contained in:
Xie Han
2023-09-01 03:28:47 +08:00
parent 17b81b9e29
commit d7009f9e92

View File

@@ -82,6 +82,7 @@ size_t HttpMessage::get_output_body_blocks(const void *buf[], size_t size[],
block = list_entry(pos, struct HttpMessageBlock, list);
buf[n] = block->ptr;
size[n] = block->size;
n++;
}
return n;