aboutsummaryrefslogtreecommitdiffstats
path: root/src/client_internal.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2010-06-17 11:47:25 +0200
committerMax Kellermann <max@duempel.org>2010-06-19 13:45:54 +0200
commit4347114455a605f5d1f7da629e56d189a97e5967 (patch)
tree49be6847b35e7417ef49366ddf6c2f204b0f8a18 /src/client_internal.h
parent9fb26b5617579129bdae8ca40801086b294fd18f (diff)
downloadmpd-4347114455a605f5d1f7da629e56d189a97e5967.tar.gz
mpd-4347114455a605f5d1f7da629e56d189a97e5967.tar.xz
mpd-4347114455a605f5d1f7da629e56d189a97e5967.zip
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.
Diffstat (limited to '')
-rw-r--r--src/client_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client_internal.h b/src/client_internal.h
index 8bcda78e7..2b1b92433 100644
--- a/src/client_internal.h
+++ b/src/client_internal.h
@@ -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? */