diff options
author | Max Kellermann <max@duempel.org> | 2009-10-11 23:13:49 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-11 23:13:49 +0200 |
commit | af92b1c2d815befec7bd9541e76c5402bcbf05c4 (patch) | |
tree | e4715e53cc1a17bfa617f2f428b4b54feb00eed8 /src/tag.c | |
parent | 016558093ba9fa7bd030367e50feca303fb012ca (diff) | |
download | mpd-af92b1c2d815befec7bd9541e76c5402bcbf05c4.tar.gz mpd-af92b1c2d815befec7bd9541e76c5402bcbf05c4.tar.xz mpd-af92b1c2d815befec7bd9541e76c5402bcbf05c4.zip |
input/curl: don't abort if a packet has only metadata
When a received chunk of data has only icy-metadata, there was no
usable data left for input_curl_read() to return, and thus it returned
0 bytes. "0" however is a special value for "end of file" or
"error". This patch makes input_curl_read() read more data from the
socket, until the read request can be fulfilled (or until there's
really EOF).
Diffstat (limited to 'src/tag.c')
0 files changed, 0 insertions, 0 deletions