Skip to content

Fix stream size - #230

Open
takei-yuya wants to merge 2 commits into
masterfrom
fix_stream_size
Open

Fix stream size#230
takei-yuya wants to merge 2 commits into
masterfrom
fix_stream_size

Conversation

@takei-yuya

@takei-yuya takei-yuya commented Sep 13, 2021

Copy link
Copy Markdown
Member
ssize_t recv(int sockfd, void *buf, size_t len, int flags);
ssize_t send(int sockfd, const void *buf, size_t len, int flags);
ssize_t write(int fd, const void *buf, size_t count);
ssize_t read(int fd, void *buf, size_t count);

buffer length should be size_t.
This prevents error when the CGI server from returning a body larger than 2GiB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant