aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-02-28 16:15:41 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-02-28 16:15:41 +0000
commit84854e6db6f4de547797fad6bce03526881d07cc (patch)
tree9c7b9afb164e88ff76564c942948c8480ce7eb88 /file.c
parent[w3m-dev 03070] Re: https through proxy (diff)
downloadw3m-84854e6db6f4de547797fad6bce03526881d07cc.tar.gz
w3m-84854e6db6f4de547797fad6bce03526881d07cc.zip
[w3m-dev 03072] Proxy-Authorization (Re: Re: https through proxy)
* file.c (loadGeneralFile) delete Proxy-Authorization set here * fm.h (HR_FLAG_PROXY): added * main.c (MAIN): need "Basic " for proxy_auth_cookie * url.c (HTTPrequest): add seen_proxy_auth if proxy and no Proxy-Authorization: header seen and has proxy_auth_cookie, use it * url.c (openURL): hr->flag |= HR_FLAG_PROXY * file.c (loadGeneralFile) comment indent fix * html.c (TagMAP): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--file.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/file.c b/file.c
index 231e4b2..0cb8069 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.71 2002/02/26 04:08:48 ukai Exp $ */
+/* $Id: file.c,v 1.72 2002/02/28 16:15:41 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -1433,10 +1433,6 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer,
prevtrap = NULL;
add_auth_cookie_flag = 0;
- if (proxy_auth_cookie != NULL) {
- pushText(extra_header, Sprintf("Proxy-Authorization: Basic %s\r\n",
- proxy_auth_cookie->ptr)->ptr);
- }
load_doc:
url_option.referer = referer;
url_option.flag = flag;
@@ -1566,7 +1562,7 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer,
}
if (t_buf == NULL)
t_buf = newBuffer(INIT_BUFFER_WIDTH);
-#if 0 /* USE_SSL */
+#if 0 /* USE_SSL */
if (IStype(f.stream) == IST_SSL) {
Str s = ssl_get_certificate(f.stream, pu.host);
if (s == NULL)