This commit is contained in:
Nick Krichevsky 2018-09-02 01:34:36 -04:00
parent 5bbda3dd24
commit 11bf43b52f

View file

@ -137,6 +137,7 @@ static char *read_body_by_content_length(int socket_fd, int content_length) {
return result;
}
//TODO: specify request vs response for eof differences
enum socket_read_result get_all_remote_parts(int socket_fd, struct http_message *message) {
ssize_t current_result_size = 0;
char *result = NULL;