From dcb489d764ca44d65e14c1e730d26f57af600c79 Mon Sep 17 00:00:00 2001 From: othmar52 Date: Thu, 27 Mar 2014 10:52:28 +0100 Subject: [PATCH] bugfix timeout when using the searchfield Signed-off-by: Andrew Karpow --- src/mpd_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mpd_client.c b/src/mpd_client.c index 10180af..a640dab 100644 --- a/src/mpd_client.c +++ b/src/mpd_client.c @@ -55,6 +55,7 @@ int callback_mpd(struct mg_connection *c) cmd_id != MPD_API_GET_MPDHOST && cmd_id != MPD_API_SET_MPDPASS) return MG_CLIENT_CONTINUE; + mpd_connection_set_timeout(mpd.conn, 5000); switch(cmd_id) { case MPD_API_UPDATE_DB: -- 2.20.1