summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d939208)
raw | patch | inline | side by side (parent: d939208)
author | Paul Sadauskas <psadauskas@gmail.com> | |
Mon, 15 Jun 2009 02:22:12 +0000 (20:22 -0600) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 21 Aug 2009 06:41:53 +0000 (08:41 +0200) |
src/http.c | patch | blob | history |
diff --git a/src/http.c b/src/http.c
index d58eda47abff8c750ef89afd73cf76c38a3f4a86..a1d0e5316f37706235317aaac2a0519db1f02ccd 100644 (file)
--- a/src/http.c
+++ b/src/http.c
headers = curl_slist_append(headers, "Content-Type: text/csv");
curl_easy_setopt (curl, CURLOPT_HTTPHEADER, headers);
+ curl_easy_setopt (curl, CURLOPT_FORBID_REUSE, 1);
+
curl_easy_setopt (curl, CURLOPT_ERRORBUFFER, curl_errbuf);
curl_easy_setopt (curl, CURLOPT_URL, location);