Skip to content

Curl POST sends Connection: Upgrade on Kodi on Android TV #86

@nico-francois

Description

@nico-francois

if (XBMC->CURLOpen(hFile, XFILE::READ_NO_CACHE))

It seems that Kodi on the NVidia Shield TV sends a Connection: Upgrade, HTTP2-Settings header even though the request is a POST.

Some servers barf on this as it seems to be an invalid request (most notable the Kestrel server in .NET Core: aspnet/KestrelHttpServer#2372)

It's not clear to me where it exactly goes wrong? a libcurl issue only on Android? Running Kodi 18.1 on Windows with the ARGUS TV plugin works fine with Kestrel in any case -- so it does seem to be related to the host OS.

Anyone with more in-depth knowledge in this that can comment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions