1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

Fix: Send "Content-Length: 0" on 100-continue

This commit is contained in:
Philipp Schafft 2018-04-13 13:46:58 +00:00
parent 4c6d778e9a
commit 72f0c83540

View File

@ -211,7 +211,7 @@ static void client_send_error(client_t *client, int status, int plain, const cha
void client_send_100(client_t *client)
{
/* On demand inject a HTTP/1.1 100 Continue to make sure clients are happy */
static const char str[] = "HTTP/1.1 100 Continue\r\n\r\n";
static const char str[] = "HTTP/1.1 100 Continue\r\nContent-Length: 0\r\n\r\n";
const size_t len = strlen(str);
client_send_bytes(client, str, len);
}