mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Fix: Corrected response and fixed TLS for 416 Request Range Not Satisfiable responses
This commit is contained in:
parent
be407ebbc7
commit
514e825a81
@ -636,10 +636,7 @@ int fserve_client_create (client_t *httpclient, const char *path)
|
|||||||
|
|
||||||
fail:
|
fail:
|
||||||
fclose (file);
|
fclose (file);
|
||||||
httpclient->respcode = 416;
|
client_send_error(httpclient, 416, 1, "Request Range Not Satisfiable\r\n");
|
||||||
sock_write (httpclient->con->sock,
|
|
||||||
"HTTP/1.0 416 Request Range Not Satisfiable\r\n\r\n");
|
|
||||||
client_destroy (httpclient);
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user