client: increase send_buf from 4kB to 16kB

this greatly improves performance of commands that return a lot
of data, e.g. search results or recursive content of a directory,
while being connected to local mpd via tcp/ip socket.
This commit is contained in:
Andrzej Rybczak 2010-06-17 11:47:25 +02:00 committed by Max Kellermann
parent 9fb26b5617
commit 4347114455

View File

@ -55,7 +55,7 @@ struct client {
size_t deferred_bytes; /* mem deferred_send consumes */
unsigned int num; /* client number */
char send_buf[4096];
char send_buf[16384];
size_t send_buf_used; /* bytes used this instance */
/** is this client waiting for an "idle" response? */