summaryrefslogtreecommitdiff
path: root/games/moonlight-embedded/files/patch-libgamestream_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/moonlight-embedded/files/patch-libgamestream_http.c')
-rw-r--r--games/moonlight-embedded/files/patch-libgamestream_http.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/moonlight-embedded/files/patch-libgamestream_http.c b/games/moonlight-embedded/files/patch-libgamestream_http.c
index 636e06ffd888..112582df9d7c 100644
--- a/games/moonlight-embedded/files/patch-libgamestream_http.c
+++ b/games/moonlight-embedded/files/patch-libgamestream_http.c
@@ -1,12 +1,12 @@
---- libgamestream/http.c.orig 2023-09-01 23:40:56 UTC
+--- libgamestream/http.c.orig 2023-11-03 06:08:34 UTC
+++ libgamestream/http.c
@@ -73,6 +73,9 @@ int http_init(const char* keyDirectory, int logLevel)
int http_request(char* url, PHTTP_DATA data) {
curl_easy_setopt(curl, CURLOPT_WRITEDATA, data);
curl_easy_setopt(curl, CURLOPT_URL, url);
-+ curl_easy_setopt(curl, CURLOPT_TCP_FASTOPEN, 1L);
-+ curl_easy_setopt(curl, CURLOPT_FRESH_CONNECT, 1);
++#ifdef __FreeBSD__
+ curl_easy_setopt(curl, CURLOPT_FORBID_REUSE, 1);
++#endif
if (debug)
printf("Request %s\n", url);