Browse Source

[core] return from http_response_read if small rd

return from http_response_read() if read smaller than available buffer
personal/stbuehler/cleanup-build
Glenn Strauss 4 years ago
parent
commit
b8e6419f3a
  1. 3
      src/http-header-glue.c

3
src/http-header-glue.c

@ -1302,6 +1302,9 @@ handler_t http_response_read(server *srv, connection *con, http_response_opts *o
}
break;
}
if ((size_t)n < avail)
break; /* emptied kernel read buffer or partial read */
}
return HANDLER_GO_ON;

Loading…
Cancel
Save