fix bug: response large(> 4294967295) file fail

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
main^2
Jianhui Zhao 2021-01-02 23:31:51 +08:00
parent 0755e549ff
commit 55a9b04d31
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ struct uh_connection_internal {
uint8_t flags;
struct {
int fd;
int size;
size_t size;
} file;
struct ev_io ior;
struct ev_io iow;