Skip to content
Snippets Groups Projects
Commit bc5bfa5f authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

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

Fixes last commit, which could cause infinite hangs on certain requests.
parent 5d3de1ee
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1376 passed
......@@ -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;
}
/* Status-Line */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment