Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit bc5bfa5f authored by Deucе's avatar Deucе 👌🏾

We still want the zero-length entity, just not any content.

Fixes last commit, which could cause infinite hangs on certain requests.
parent 5d3de1ee
Pipeline #1376 passed with stage
in 9 minutes and 8 seconds
......@@ -1308,11 +1308,11 @@ static BOOL send_headers(http_session_t *session, const char *status, int chunke
if(stat_code==304 || stat_code==204 || (stat_code >= 100 && stat_code<=199)) {
session->req.send_content = FALSE;
send_entity = FALSE;
}
if (!session->req.send_content) {
chunked=FALSE;
send_entity = FALSE;
chunked = FALSE;
}
/* Status-Line */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment