• Max Kellermann's avatar
    input/curl: don't abort if a packet has only metadata · af92b1c2
    Max Kellermann authored
    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).
    af92b1c2
curl_input_plugin.c 21.2 KB