summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-07-07 21:53:15 +0000
committerJames Bursa <james@netsurf-browser.org>2003-07-07 21:53:15 +0000
commit1abf8018a907cd95af01dfe0196786928988a653 (patch)
tree74c35e08620d6cee4f081f00d6e4405e97bd8c05 /content
parent1244e1069ebf85d77c3dde78e48016db41ddb918 (diff)
downloadnetsurf-1abf8018a907cd95af01dfe0196786928988a653.tar.gz
netsurf-1abf8018a907cd95af01dfe0196786928988a653.tar.bz2
[project @ 2003-07-07 21:53:15 by bursa]
Fix header handling for reused connections. svn path=/import/netsurf/; revision=209
Diffstat (limited to 'content')
-rw-r--r--content/fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 2fb31e923..3b057c266 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -272,6 +272,8 @@ void fetch_abort(struct fetch *f)
assert(code == CURLE_OK);
code = curl_easy_setopt(fetch->curl_handle, CURLOPT_WRITEDATA, fetch);
assert(code == CURLE_OK);
+ code = curl_easy_setopt(fetch->curl_handle, CURLOPT_WRITEHEADER, fetch);
+ assert(code == CURLE_OK);
/* TODO: remove referer header if fetch->referer == 0 */
if (fetch->referer != 0) {
code = curl_easy_setopt(fetch->curl_handle, CURLOPT_REFERER, fetch->referer);