Commit Graph

16 Commits

Author SHA1 Message Date
gagan%netscape.com
570f14d71b r=valeski,rjc a=jar. Fixes for the following bugs-
bug 1582 - HTTP Referer header problem.
This is now resolved with a preference (network.sendRefererHeader)
If set to 0 no referrer header is sent (ever) If set to 1 the
referrer header is sent only in cases of user link-clicks and if
set to 2 is sent from image requests as well.

bug 17158 - No Proxies For wasn't implemented.
This was not being read correctly and I also moved and cleaned up
the parsing function to nsProtocolProxyService (thereby also
killing bug 27728)

bug 24642 - http://www.win98central.com/#437 was crashing.
bug 26686 - crash in nsHTTPRequest destructor.
Both of these crashes were because of the nsHTTPRequest being
unconditionally released in the destructor of nsHTTPChannel. Although the main problem remains, I have made it a non-crasher now.

bug 27844 - HTTP breaks when only using FTP proxy.
This was happening because we were not resetting values of the
proxy when they are removed from the preference pane.


git-svn-id: svn://10.0.0.236/trunk@61512 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 21:17:17 +00:00
valeski%netscape.com
81bf4379e8 r=gramps (yea, that's right), 15594 (partial). In order for FTP proxies to work, HTTP needs to implement nsIProxy. FTP uses the HTTP protocol to piggy back as a real proxy handler.
git-svn-id: svn://10.0.0.236/trunk@60715 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 08:40:05 +00:00
gagan%netscape.com
e997a4893d Now allowing FTP to specify an ftp URL-- bug 15594 (and in general allow any non-HTTP handler to use HTTP as a proxy) r=valeski
git-svn-id: svn://10.0.0.236/trunk@60711 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 07:06:32 +00:00
gagan%netscape.com
660a5e7f37 Fixed bug 27024. Changed nsIHTTPChannel.idl to have proxy host/port
accessors and modifiers. Channels may now override the proxy setting
from the HTTP handler. r=valeski

Fixed bug 24329. Made mProxyAuthList in nsAuthEngine to keep the list of proxy authentications. Logout now clears both proxy and basic auths. r=rjc

Fixed bug 26149. Authenticate now aborts only if the user doesn't click cancel on the PromptUserPass dialog. Removed the unnecessary nsIChannel* parameter on Authenticate. r=rjc

Fixed bug 24304. We now register a callback for proxy preferences. r=rjc

Fixed bug 17158. We now honor "network.proxy.no_proxies_on" preference to diable proxy activity on specified host or domain. We still need a fix for 27141 to read and write this pref correctly. r=rjc

Fixed bug 16442. Referer is only added if its an http URI. r=rjc


git-svn-id: svn://10.0.0.236/trunk@60340 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:47:50 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
valeski%netscape.com
b853096819 16968, r=gagan. Changed the way HTTP header notification occurs. now the channel does the notification. Also added SetREsponseHeaders() to the nsIHTTPChannel iface which allows outside users to add response headers (such as nsMultiMIMEConv/bugzilla) and have the new headers perculate to observers. also fixed HTTP handler leak, r=dp on that one.
git-svn-id: svn://10.0.0.236/trunk@52094 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 20:12:59 +00:00
rpotts%netscape.com
58b6be1d08 Cleanup - changed setter/getter methods to an attribute.
git-svn-id: svn://10.0.0.236/trunk@51830 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:49:56 +00:00
gagan%netscape.com
76c287a33c Basic Auth stuff. very basic indeed.
git-svn-id: svn://10.0.0.236/trunk@45430 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:21:12 +00:00
rpotts%netscape.com
d42454f6bb ug #8443. Added GetCharset to nsIHTTPChannel
git-svn-id: svn://10.0.0.236/trunk@45300 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 04:46:05 +00:00
gagan%netscape.com
7708ed2471 Fixed tabs to spaces and misc leaks...
git-svn-id: svn://10.0.0.236/trunk@44817 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 12:38:06 +00:00
rpotts%netscape.com
38fe3aea7b bug #10739. Reworking header APIs... I've added a new IDL file - nsIHTTPHeader.idl and remove 3 obsolete header files...
git-svn-id: svn://10.0.0.236/trunk@42285 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 08:26:57 +00:00
gagan%netscape.com
32a246bdcb POSTing works now.
git-svn-id: svn://10.0.0.236/trunk@42137 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 15:07:26 +00:00
gagan%netscape.com
ba73fe5d83 Changed status from nsresult to PRUint32.
git-svn-id: svn://10.0.0.236/trunk@39602 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 00:40:06 +00:00
warren%netscape.com
741b9ebc71 Added nsILoadGroup. Changed load attribute strategy to flags.
git-svn-id: svn://10.0.0.236/trunk@36753 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 22:58:42 +00:00
warren%netscape.com
dac1243979 Added stuff needed for landing -- LoadQuiet, BypassCache, BypassProxy
git-svn-id: svn://10.0.0.236/trunk@36168 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 00:19:58 +00:00
warren%netscape.com
a42da99b5a New IDL interfaces.
git-svn-id: svn://10.0.0.236/trunk@34087 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:33:30 +00:00