Skip to content

Commit 045b332

Browse files
IdotMaster1IdotMaster1
andauthored
Fix PHREAKSCRIPT-38 (#41)
Co-authored-by: IdotMaster1 <justpersom@gmail.com>
1 parent 7d2f3c7 commit 045b332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

res/res_phreaknet.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ static struct ast_str *curl_get(const char *url, const char *data)
318318
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, curl_write_string_callback);
319319
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &str);
320320
curl_easy_setopt(curl, CURLOPT_URL, url);
321-
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, 1000L);
322-
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 5L);
321+
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 8L);
322+
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 8L);
323323
curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, curl_errbuf);
324324

325325
ast_debug(6, "cURL URL: %s\n", url);

0 commit comments

Comments
 (0)