[http] Move Curl https client from lastfm to http so it is available for other modules

This commit is contained in:
ejurgensen
2016-11-05 13:43:35 +01:00
parent 575b6e13a8
commit 8c0db10e67
4 changed files with 195 additions and 148 deletions

View File

@@ -1129,8 +1129,8 @@ source_item_stream_get(struct artwork_ctx *ctx)
memset(&client, 0, sizeof(struct http_client_ctx));
client.url = url;
client.headers = kv;
client.body = ctx->evbuf;
client.input_headers = kv;
client.input_body = ctx->evbuf;
if (http_client_request(&client) < 0)
goto out_kv;