diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-28 16:15:41 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-28 16:15:41 +0000 |
commit | 84854e6db6f4de547797fad6bce03526881d07cc (patch) | |
tree | 9c7b9afb164e88ff76564c942948c8480ce7eb88 /file.c | |
parent | [w3m-dev 03070] Re: https through proxy (diff) | |
download | w3m-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.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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) |