aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins/CurlInputPlugin.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input/curl: ignore ResponseBoundary() while seekingMax Kellermann2014-11-101-0/+4
| | | | | | While seeking, metadata must not be updated. ResponseBoundary() was added in MPD 0.19.1, but I forgot to add the IsSeeking() check there. This caused the "seekable" flag to reset.
* input/curl: forget Content-Length (and more) after redirectMax Kellermann2014-11-021-0/+26
| | | | Fixes playback of redirected streams.
* Merge branch 'v0.18.x' into v0.19.xMax Kellermann2014-11-021-1/+1
|
* input/curl: fix curl_easy_setopt() parameter typesMax Kellermann2014-11-011-3/+3
|
* CurlInputPlugin: fix crash after second init callThomas Guillem2014-09-161-0/+1
| | | | | The second time init was called, http_200_aliases pointed to a freed pointer and leaded to a SEGFAULT.
* util/StringUtil: add StripRight() overload with "end" argumentMax Kellermann2014-08-071-6/+3
|
* input/curl: options "verify_peer" and "verify_host"Max Kellermann2014-07-111-0/+8
|
* input/curl: hold mutex while writing to postponed_errorMax Kellermann2014-06-171-3/+4
|
* input/curl: move code to AsyncInputStreamMax Kellermann2014-05-241-211/+48
| | | | | New base class for other InputStream implementations that run in the I/O thread.
* input/curl: call SetReady() only if not yet readyMax Kellermann2014-05-241-1/+2
| | | Fixes assertion failure.
* input/curl: include cleanupMax Kellermann2014-05-241-7/+0
|
* InputStream: make Seek() always absoluteMax Kellermann2014-05-221-24/+3
| | | | | Remove the "whence" parameter that is not actually necessary, and only complicates the InputStream implementations.
* input/curl: relock mutex in error pathsMax Kellermann2014-05-211-2/+7
|
* input/curl: pass remaining size to CircularBuffer::Append()Max Kellermann2014-05-211-1/+1
|
* input/curl: move code to IcyInputStreamMax Kellermann2014-05-211-86/+16
|
* InputStream: remove attribute "plugin"Max Kellermann2014-05-111-1/+1
|
* InputStream: make various methods abstractMax Kellermann2014-05-111-71/+19
| | | | Replace InputPlugin attributes.
* InputStream: add virtual destructorMax Kellermann2014-05-111-9/+0
| | | Replaces the method Close().
* input/plugins: make InputStream the base classMax Kellermann2014-05-111-51/+49
| | | | Prepare for adding virtual methods.
* InputStream: convert to classMax Kellermann2014-05-111-7/+4
|
* input/curl: use CircularBufferMax Kellermann2014-03-161-133/+75
| | | | Replaces its own weird buffering code.
* input/curl: add method CurlInputStream::Open()Max Kellermann2014-03-151-12/+17
|
* input/curl: move _seek() into the CurlInputStream classMax Kellermann2014-03-151-38/+44
|
* input/curl: move _easy_init() into the CurlInputStream classMax Kellermann2014-03-151-30/+30
|
* input/curl: pass std::string&& to HeaderReceived()Max Kellermann2014-03-151-25/+8
| | | | Code simplification.
* input/curl: move code to CurlInputStream methodsMax Kellermann2014-03-151-178/+231
|
* input/curl: rename "error" to "error_buffer"Max Kellermann2014-03-151-3/+3
|
* input/curl: rename struct input_curl to CurlInputStreamMax Kellermann2014-03-151-32/+32
|
* InputPlugin: allow init() to soft-failMax Kellermann2014-03-021-4/+6
| | | | | Add enum InputResult which is a tri-state. Input plugins may now fail and just become unavailable.
* input/curl: include cleanupMax Kellermann2014-02-221-1/+0
|
* Input*: move to input/Max Kellermann2014-01-241-0/+1170