diff options
Diffstat (limited to 'libpiano/main.c')
-rw-r--r-- | libpiano/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpiano/main.c b/libpiano/main.c index d21c91b..746e8d9 100644 --- a/libpiano/main.c +++ b/libpiano/main.c @@ -49,6 +49,7 @@ void PianoInit (PianoHandle_t *ph) { /* set tor as control connection proxy */ curl_easy_setopt (ph->curlHandle, CURLOPT_PROXY, "localhost:9050"); curl_easy_setopt (ph->curlHandle, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4A); + curl_easy_setopt (ph->curlHandle, CURLOPT_CONNECTTIMEOUT, 60); } /* free complete station list |