Skip to content

Commit

Permalink
forbid connection reuse for libgamestream
Browse files Browse the repository at this point in the history
fixes #452
  • Loading branch information
mariotaku committed Sep 29, 2024
1 parent 5fca204 commit 4f51fcd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/libgamestream/src/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ HTTP *http_create(const char *keydir) {
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_fn);
curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1L);
curl_easy_setopt(curl, CURLOPT_SSL_SESSIONID_CACHE, 0L);
// Fix for https://github.com/mariotaku/moonlight-tv/issues/452
curl_easy_setopt(curl, CURLOPT_FORBID_REUSE, 1L);

struct HTTP_T *http = malloc(sizeof(struct HTTP_T));
assert(http != NULL);
Expand Down

0 comments on commit 4f51fcd

Please sign in to comment.