From 01891f88158631ccb72c1294c4d64b4a9db46b9c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 6 Nov 2013 19:01:50 +0100 Subject: input/curl: fix bug with redirected streams Migrate from the old curl_multi_perform() API to the newer curl_multi_socket_action() API (since CURL 7.16). This allows working around a bug with HTTP redirections with epoll: when CURL closes a socket and the new one happens to have the same file number, MPD did not have a chance to remove the old one from epoll and subsequently attempted to use EPOLL_CTL_MOD, which was not allowed by epoll, because it's a new socket now. --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 9641e2ad8..95c340bbd 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.18.2 (2013/??/??) +* input: + - curl: fix bug with redirected streams * playlist: - pls: fix reversed song order * decoder: -- cgit v1.2.3