diff options
author | waker <wakeroid@gmail.com> | 2011-03-28 21:27:14 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-28 21:27:14 +0200 |
commit | 2b97d4c693c99223261275f5028da4bd66f0453f (patch) | |
tree | 6e7050fe352c3d315cbdbdcb89a38158ef38c122 /plugins/vfs_curl | |
parent | 1d74cc0c7d63de5ca838c36171ca0ebf5dd04272 (diff) |
improved handling of http headers in icy streams
Diffstat (limited to 'plugins/vfs_curl')
-rw-r--r-- | plugins/vfs_curl/vfs_curl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/vfs_curl/vfs_curl.c b/plugins/vfs_curl/vfs_curl.c index 46bc231a..5a2d4ddd 100644 --- a/plugins/vfs_curl/vfs_curl.c +++ b/plugins/vfs_curl/vfs_curl.c @@ -247,9 +247,9 @@ http_curl_write (void *ptr, size_t size, size_t nmemb, void *stream) { trace ("vfs_curl STATUS_ABORTED at start of packet\n"); return 0; } - if (fp->gotsomeheader) { - fp->gotheader = 1; - } +// if (fp->gotsomeheader) { +// fp->gotheader = 1; +// } if (!fp->gotheader) { // check if that's ICY if (!fp->icyheader && avail >= 10 && !memcmp (ptr, "ICY 200 OK", 10)) { |