Revert "pulse-server: Handle clients that send more than requested"

This reverts commit a79b5c86ea.
This commit is contained in:
Wim Taymans 2022-09-08 09:06:02 +02:00
parent 903f831b2d
commit d5bc6aa2cb
3 changed files with 0 additions and 7 deletions

View file

@ -172,10 +172,6 @@ static int handle_memblock(struct client *client, struct message *msg)
} else if (filled + msg->length > stream->attr.maxlength) {
/* overrun */
stream_send_overflow(stream);
} else if (filled + msg->length > stream->attr.tlength) {
stream->extra_tlength = filled + msg->length - stream->attr.tlength;
pw_log_info("client %p [%s]: received %u more than asked for channel %d",
client, client->name, stream->extra_tlength, channel);
}
/* always write data to ringbuffer, we expect the other side