Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: m-labs/flickernoise
base: 893fe1a
...
head fork: m-labs/flickernoise
compare: 379315e
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 5 additions and 2 deletions.
  1. +3 −0  src/flash.c
  2. +2 −2 src/rsswall.c
View
3  src/flash.c
@@ -111,6 +111,9 @@ static int download(const char *url, const char *filename)
curl = curl_easy_init();
if (curl) {
curl_easy_setopt(curl, CURLOPT_URL, url);
+ curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 15);
+ curl_easy_setopt(curl, CURLOPT_TIMEOUT, 180);
+
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_data);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, fp);
View
4 src/rsswall.c
@@ -270,8 +270,8 @@ static char *feed_get_last(const char *url)
curl_easy_setopt(curl_handle, CURLOPT_URL, url);
/* FIXME: libcurl timeouts do not work in RTEMS */
// maybe needed? curl_easy_setopt(curl_handle, CURLOPT_NOSIGNAL, 1);
- curl_easy_setopt(curl_handle, CURLOPT_CONNECTTIMEOUT, 5);
- curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 5);
+ curl_easy_setopt(curl_handle, CURLOPT_CONNECTTIMEOUT, 10);
+ curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 15);
curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, data_callback);
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)xml_handle);
curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "flickernoise/"VERSION);

No commit comments for this range

Something went wrong with that request. Please try again.