Граф коммитов

113 Коммитов

Автор SHA1 Сообщение Дата
darin%netscape.com 45989119b4 fixes bug 83471 "Redirection loops"
r=bbaetz@cs.mcgill.ca
sr=rpotts@netscape.com
2001-12-08 00:23:04 +00:00
timeless%mac.com e8943f2147 Bugzilla Bug 113885 documentation of nsIHttpNotify :: onExamineResponse is wrong.
the callback is not asynchronous.
sr=darin ... no need for further review.
2001-12-06 22:16:38 +00:00
darin%netscape.com 0e1a5b114b fixes bug 15860 "support http/1.1 digest authentication"
patch=jab@atdot.org,pach@cs.cmu.edu,darin@netscape.com
r=dougt@netscape.com
sr=rpotts@netscape.com
2001-12-04 23:49:06 +00:00
dougt%netscape.com da7e1268bd nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
darin%netscape.com c95cf54bdc checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin
2001-09-13 02:21:05 +00:00
cls%seawood.org be6e7aec19 Set MODULE so that headers are grouped properly. 2001-09-09 07:43:48 +00:00
dougt%netscape.com f78284509b Upload Channel API changes. Bug 29839. r=darin@Netscape.com, sr=rpotts@netscape.com.
Also fixes bug 63408, not alerting when file-not-found. r/sr same as above
2001-09-05 03:52:26 +00:00
darin%netscape.com b5c178a4a8 Http branch landing: changes to netwerk/ (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:04:09 +00:00
darin%netscape.com a6c1bdaf36 Http branch landing: removing old files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:01:07 +00:00
rpotts%netscape.com f56f8cf05b fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski) 2001-04-27 21:05:52 +00:00
ccarlen%netscape.com 7720f48f12 Bugs 70379, 70380 - Hide nsISingleSignon from embedding apps, split auth prompting methods out of nsIPrompt into a new interface. r=valeski, sr=rpotts. 2001-04-10 18:30:25 +00:00
valeski%netscape.com c1098ac6ac r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces. 2001-03-24 00:22:18 +00:00
darin%netscape.com 0449928c9b Fixes bug 13393. HTTP should send Accept-Charset. patch=havill@redhat.com,
r=gagan, sr=darin
2001-03-22 08:39:41 +00:00
darin%netscape.com 235d4c9c4f [not part of the build] HTTP now compiles with MOZ_NEW_CACHE defined. 2001-03-07 12:19:27 +00:00
dougt%netscape.com eab041f43f Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
alecf%netscape.com c4e6df71a1 part of fix for #46488 - http startup handlers get an Observe() call as well
r=valeski, sr=waterson
2001-02-15 14:43:34 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
gagan%netscape.com cded3e2f30 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
gagan%netscape.com 3401d6824a Fix for bug 32335. Fixes to make basic auth use the realm for authenticating. Thanks to darin@netscape.com r=gagan, sr=shaver. 2000-10-13 04:01:48 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
ruslan%netscape.com a028e2115d FInally fix 42283; a=gagan,r=gordon 2000-07-20 21:25:19 +00:00
jab%atdot.org 97cbd61317 a=brendan@mozilla.org
Bug #16103
Support for SOCKS proxies in HTTP, HTTPS, and FTP protocols.
Also includes the prefs configuration and UI bits.
2000-07-01 10:25:25 +00:00
gagan%netscape.com 24fa5f0100 Part fix for bug 35956. HTTP now has an API to turn off automatic gunziping. r=rjc 2000-06-21 23:18:12 +00:00
danm%netscape.com 3dcddcf8a5 adding accessor for nsIPrompt member variable. bugs 25684,28594. r=gagan@netscape.com 2000-06-16 14:52:53 +00:00
ruslan%netscape.com 1fb23603b8 Fix for 37800 - API change: SetRequestMethod now has to take Atom
as method name
2000-05-03 00:18:08 +00:00
gagan%netscape.com 45af37867c Fixed bug 23480. Changed the PostDataStream api to be UploadStream api to allow PUT requests as well.
Fixed bug 32560. Added AsyncWrite implementation for HTTP.
Fixed bug 33842. Some of the earliar code that ruslan had landed broke the status updating for proxy cases.
Fixed bug 36602. Added an api to add (and remove) entries to the "no proxy for" array. Also changed the array to be constructed once (and hence parsed once) instead on each call to ExamineForProxy.
Part fix for bug 31174. Added HTTPS proxy settings.
And finally also un"ruslan"ized the HTTP code :)
2000-04-22 00:35:05 +00:00
ruslan%netscape.com e2f92e9b14 Backing up some changes from friday which broke authenticate (36071). Support
Apache-style keep-alive header. Make *ServerCapabilities methods public.
2000-04-18 02:32:53 +00:00
ruslan%netscape.com 39f7fc06c6 Partially fix 34743. Handle 100 (Continue) responses. Add an exclusion list
for servers with broken 1.1/pipelining. Fire onstop in case of the error on
all queued up channels in the pipeline.
2000-04-13 20:48:19 +00:00
ruslan%netscape.com 058a3cfa88 Landing link-click problem fix. Also fix DNS lockup (gordon) on Windows,
memory leak of socket transports during pipelined request, add timeout
setters on socket transport, add a restriction on the number of keep-alive
connections.
2000-04-12 01:47:22 +00:00
ruslan%netscape.com 3ac8a0fde2 Preparing for pipelining landing: keep the list of server capabilities now.
Make prefs reader more intelligent. Don't cache pages with security info
for now to let daugh to get through his bugs; Make proxy.keep-alive/
proxy.pipelining to be prefs as well; p/r=warren
2000-03-30 22:24:29 +00:00
tbogard%aol.net f2fba4f3de Adding the attribute referrer so that you can get the referrer from the channel once you have previously set it. 2000-03-30 02:18:52 +00:00
ruslan%netscape.com e3ad4e0a43 Http handler reorg to fix keep-alive raise condition and prepare for
pipeling changes. Also fix 32505, 31979. In case of a major bustage -
http11_reorg_point is the tag before the checkin; r=gagan, a=warren
2000-03-24 21:38:04 +00:00
valeski%netscape.com 70ad952ce3 r=jst. 30067. OSCPU User agent attrib is now exposed. 2000-03-21 22:38:40 +00:00
ruslan%netscape.com 8f20bbe175 Fix 31882, 31884, 31979 (all keep-alive fixes + patch from Tomi.Leppikangas@oulu.fi) 2000-03-18 18:39:41 +00:00
dougt%netscape.com 612badb3a9 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
ruslan%netscape.com 74764af9f2 Fix 10738, partial fix for 21020. Keep-alive, http/1.1, transfer-encoding: chunked
can now be turned on (network.http.version=1.1); network.http.keep-alive can also
be used, however not recommended (1.1 pref will automatically enable keepa-alive).
r=warren,gagan
2000-03-14 03:41:46 +00:00
gagan%netscape.com 107b05a7b3 Fix for 30385. We were leaking channel due to the no longer needed "proxy channel" by the cache transport (mem cache) Also removed nsIHttpEventSink.h since its now an IDL. Also fixed 31667, 31222, 31657 (the assertion failures for thread safety) 2000-03-14 03:24:56 +00:00
gagan%netscape.com 97a5b286e2 Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages. r=valeski,a=jar 2000-03-08 00:27:33 +00:00
gagan%netscape.com 64ba4532fb Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages. 2000-03-08 00:24:53 +00:00
gagan%netscape.com 6eb4f2319e First checkin. Not in the build yet. Moving the HTTP event sink from .h to .idl. 2000-03-04 00:40:35 +00:00
valeski%netscape.com bfdba9cb1e 29164. r=shaver. The user agent setup no longer uses a string bundle. UA string formatting changes that use prefs for values. 2000-02-29 20:39:18 +00:00
valeski%netscape.com c5dbdcfd80 28782. a=jar. r=alecf. nsHTTPHandler now has an extra product token for the User Agent string. we now use the PRUnichar = operator for string stuff, and retrieve vendor info from a string bundle. 2000-02-23 22:50:45 +00:00
gagan%netscape.com d605467cb7 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.
2000-02-23 21:17:17 +00:00
valeski%netscape.com d4dc3c3cbe 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. 2000-02-14 08:40:05 +00:00
gagan%netscape.com cbffaa0233 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 2000-02-14 07:06:32 +00:00
gagan%netscape.com 5f31baff26 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
2000-02-11 00:47:50 +00:00
valeski%netscape.com 4cd253d9cc r=dougt. 10465. The http protocol handler now has the USer agent api hanging off of it. I also cleaned up the HTTP component so it is a clean service w/ a cid now. 2000-02-08 06:20:54 +00:00
dp%netscape.com 2ba4286aa9 Adding NS_HTTP_STARTUP_CATEGORY r=gagan 2000-02-08 06:05:36 +00:00