mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-06-30 22:18:19 -04:00
Fix: Send "Content-Length: 0" on 100-continue
This commit is contained in:
parent
4c6d778e9a
commit
72f0c83540
@ -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)
|
void client_send_100(client_t *client)
|
||||||
{
|
{
|
||||||
/* On demand inject a HTTP/1.1 100 Continue to make sure clients are happy */
|
/* 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);
|
const size_t len = strlen(str);
|
||||||
client_send_bytes(client, str, len);
|
client_send_bytes(client, str, len);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user