Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pvr.plutotv/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.plutotv"
version="22.3.1"
version="22.3.2"
name="Pluto.tv PVR Client"
provider-name="Team Kodi, flubshi">
<requires>@ADDON_DEPENDS@
Expand Down
3 changes: 3 additions & 0 deletions pvr.plutotv/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v22.3.2
- Fix HTTP request timeouts whith newer CURL versions

v22.3.1
- Fix EPG refresh not working (due to expired JWT)

Expand Down
3 changes: 1 addition & 2 deletions src/Curl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,10 @@ kodi::vfs::CFile* Curl::PrepareRequest(const std::string& action,
return nullptr;
}

file->CURLAddOption(ADDON_CURL_OPTION_PROTOCOL, "http-version", "1.1");
file->CURLAddOption(ADDON_CURL_OPTION_PROTOCOL, "redirect-limit", "0");
file->CURLAddOption(ADDON_CURL_OPTION_PROTOCOL, "customrequest", action);

file->CURLAddOption(ADDON_CURL_OPTION_HEADER, "acceptencoding", "gzip");

if (!postData.empty())
{
const std::string base64 = Base64Encode(postData, false);
Expand Down