From ab3c5171d673cad0316fe91d1f831b6dd264b5c9 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 14 Mar 2007 15:41:58 +0000 Subject: [PATCH] use CURLOPT_NOSIGNAL --- src/libstrongswan/utils/fetcher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstrongswan/utils/fetcher.c b/src/libstrongswan/utils/fetcher.c index 2cdf6381e..f43a9fa28 100644 --- a/src/libstrongswan/utils/fetcher.c +++ b/src/libstrongswan/utils/fetcher.c @@ -109,6 +109,7 @@ static chunk_t post(private_fetcher_t *this, const char *request_type, chunk_t r curl_easy_setopt(this->curl, CURLOPT_ERRORBUFFER, &curl_error_buffer); curl_easy_setopt(this->curl, CURLOPT_FAILONERROR, TRUE); curl_easy_setopt(this->curl, CURLOPT_CONNECTTIMEOUT, FETCHER_TIMEOUT); + curl_easy_setopt(this->curl, CURLOPT_NOSIGNAL, TRUE); DBG1("sending http post request to '%s'...", this->uri); res = curl_easy_perform(this->curl);