mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Fixed HTTP/1.1 pipelineing
This commit is contained in:
parent
33dcf24d21
commit
b0c7da36a0
10
src/client.c
10
src/client.c
@ -124,6 +124,16 @@ static inline void client_reuseconnection(client_t *client) {
|
|||||||
client->con->send = NULL;
|
client->con->send = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (client->con->readbufferlen) {
|
||||||
|
/* Aend... moorre paaiin.
|
||||||
|
* stealing putback buffer.
|
||||||
|
*/
|
||||||
|
con->readbuffer = client->con->readbuffer;
|
||||||
|
con->readbufferlen = client->con->readbufferlen;
|
||||||
|
client->con->readbuffer = NULL;
|
||||||
|
client->con->readbufferlen = 0;
|
||||||
|
}
|
||||||
|
|
||||||
client->reuse = ICECAST_REUSE_CLOSE;
|
client->reuse = ICECAST_REUSE_CLOSE;
|
||||||
|
|
||||||
client_destroy(client);
|
client_destroy(client);
|
||||||
|
Loading…
Reference in New Issue
Block a user