diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2003-06-02 01:09:50 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2003-06-02 01:09:50 +0000 |
commit | 3ca51179c9d06d4d69027db8c2f1f3af856aef0a (patch) | |
tree | 58c0452ea118ffa5c328eb7ff3ed4b0f3095896c | |
parent | d4f3c07ae27d6052dc5a774bf55633c9735cbcf6 (diff) | |
download | netsurf-3ca51179c9d06d4d69027db8c2f1f3af856aef0a.tar.gz netsurf-3ca51179c9d06d4d69027db8c2f1f3af856aef0a.tar.bz2 |
[project @ 2003-06-02 01:09:50 by jmb]
Make proxy work
svn path=/import/netsurf/; revision=150
-rw-r--r-- | content/fetch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/fetch.c b/content/fetch.c index 6838951b2..3d1bdc817 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -1,5 +1,5 @@ /** - * $Id: fetch.c,v 1.8 2003/06/01 23:02:56 monkeyson Exp $ + * $Id: fetch.c,v 1.9 2003/06/02 01:09:50 jmb Exp $ * * This module handles fetching of data from any url. * @@ -184,7 +184,7 @@ struct fetch * fetch_start(char *url, char *referer, { code = curl_easy_setopt(fetch->curl_handle, CURLOPT_PROXY, OPTIONS.http_proxy); assert(code == CURLE_OK); - code = curl_easy_setopt(fetch->curl_handle, CURLOPT_PROXYPORT, (long)OPTIONS.http_proxy); + code = curl_easy_setopt(fetch->curl_handle, CURLOPT_PROXYPORT, (long)OPTIONS.http_port); assert(code == CURLE_OK); } @@ -207,7 +207,7 @@ void fetch_abort(struct fetch *f) assert(f != 0); LOG(("fetch %p, url '%s'", f, f->url)); - + if (f->in_callback) { LOG(("in callback: will abort later")); f->aborting = 1; |