mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-18 16:49:18 +03:00
[project @ 2003-07-07 21:53:15 by bursa]
Fix header handling for reused connections. svn path=/import/netsurf/; revision=209
This commit is contained in:
parent
1244e1069e
commit
1abf8018a9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user