kiss-flatpak

Flatpak for KISS Linux.
git clone https://git.stjo.hn/kiss-flatpak
Log | Files | Refs | README | LICENSE

no-http2.patch (713B)


      1 diff --git a/common/flatpak-utils-http.c b/common/flatpak-utils-http.c
      2 index 8bf2e70..3aa9b08 100644
      3 --- a/common/flatpak-utils-http.c
      4 +++ b/common/flatpak-utils-http.c
      5 @@ -384,10 +384,10 @@ flatpak_create_http_session (const char *user_agent)
      6     * there are numerous HTTP/2 fixes since the original version in
      7     * libcurl 7.43.0.
      8     */
      9 -#if CURL_AT_LEAST_VERSION(7, 51, 0)
     10 +/*#if CURL_AT_LEAST_VERSION(7, 51, 0)
     11    rc = curl_easy_setopt (curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
     12    g_assert_cmpint (rc, ==, CURLM_OK);
     13 -#endif
     14 +#endif*/
     15    /* https://github.com/curl/curl/blob/curl-7_53_0/docs/examples/http2-download.c */
     16  #if (CURLPIPE_MULTIPLEX > 0)
     17    /* wait for pipe connection to confirm */