diff options
author | Max Kellermann <max@duempel.org> | 2013-11-06 19:01:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-06 19:14:22 +0100 |
commit | 01891f88158631ccb72c1294c4d64b4a9db46b9c (patch) | |
tree | 0d6cc6b44886a84dd526d4357f28209694f90c85 /src/DatabasePlaylist.cxx | |
parent | adb68450cef1b9dacc6ecfa27a9971665a50df58 (diff) | |
download | mpd-01891f88158631ccb72c1294c4d64b4a9db46b9c.tar.gz mpd-01891f88158631ccb72c1294c4d64b4a9db46b9c.tar.xz mpd-01891f88158631ccb72c1294c4d64b4a9db46b9c.zip |
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.
Diffstat (limited to 'src/DatabasePlaylist.cxx')
0 files changed, 0 insertions, 0 deletions