Created
March 20, 2018 16:56
-
-
Save anonymous/efaceeefc4b9d0a27e9dde3735546c5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ui.c b/src/ui.c | |
index 5c4e42d..fa42e6e 100644 | |
--- a/src/ui.c | |
+++ b/src/ui.c | |
@@ -205,6 +205,7 @@ static CURLcode BarPianoHttpRequest (CURL * const http, | |
setAndCheck (CURLOPT_PROGRESSDATA, &lint); | |
setAndCheck (CURLOPT_NOPROGRESS, 0); | |
setAndCheck (CURLOPT_POST, 1); | |
+ setAndCheck (CURLOPT_TIMEOUT, 30); | |
if (settings->caBundle != NULL) { | |
setAndCheck (CURLOPT_CAINFO, settings->caBundle); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment