Temporarily removing the ES timeout because it works with signals and is incompatible with Bro threads.

This commit is contained in:
Seth Hall 2012-07-19 12:14:13 -04:00
parent 1826827359
commit 0c4c5ff335

View file

@ -369,7 +369,7 @@ bool ElasticSearch::HTTPSend(CURL *handle)
// The best (only?) way to disable that is to just use HTTP 1.0 // The best (only?) way to disable that is to just use HTTP 1.0
curl_easy_setopt(handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); curl_easy_setopt(handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
curl_easy_setopt(handle, CURLOPT_TIMEOUT_MS, transfer_timeout); //curl_easy_setopt(handle, CURLOPT_TIMEOUT_MS, transfer_timeout);
CURLcode return_code = curl_easy_perform(handle); CURLcode return_code = curl_easy_perform(handle);