summaryrefslogtreecommitdiff
path: root/games/moonlight-embedded/files/patch-libgamestream_http.c
diff options
context:
space:
mode:
authorArmin Zhu <lisp_25689@163.com>2024-01-14 09:45:36 +0100
committerDaniel Engberg <diizzy@FreeBSD.org>2024-01-14 21:35:24 +0100
commit251a8452de9d0e60e294057899e992ed581077aa (patch)
tree50afb2b2e440bad855bffda59441cb056b64a819 /games/moonlight-embedded/files/patch-libgamestream_http.c
parentprint/fontforge: Update to 20230101 (diff)
games/moonlight-embedded: Update to 2.6.2
In addition to maintainers patch fix REINPLACE_CMD for docs/README.pod Changelog: https://github.com/moonlight-stream/moonlight-embedded/releases/tag/v2.6.2 PR: 276144
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);