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

1002 Коммитов

Автор SHA1 Сообщение Дата
mscott%netscape.com a372473038 Bug #56934 --> properly determine the status for on end document load. We used to
use the status of the last request processed in loading the document to determine
 success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).

this also means making sure the http channel properly sets it's status code in ResponseComplete (r=gagan)
 sr=rpotts, r=sspitzer
2000-10-27 04:13:51 +00:00
darin%netscape.com 82d8519f52 Fixes bug 56785. 303 HTTP response now handled. r=gagan, sr=mscott 2000-10-27 00:04:18 +00:00
morse%netscape.com 056b6817df bug 57840, tre blocker, r=gagan,don 2000-10-25 18:14:23 +00:00
mscott%netscape.com 2435093250 Bug #56934 --> propogate the error returned by
OnDataAvailable so nsAsyncStreamListener can properly
cancel the load. This fixes the zdnet benchmark
problem. r=gagan, sr=rpotts
2000-10-25 03:10:49 +00:00
darin%netscape.com cabf7cc50d Fixes for bug 49168. Corrects HTTP authentication lookup semantics. r=gagan, sr=mscott. 2000-10-20 21:08:58 +00:00
gagan%netscape.com fb20999bc3 Temp fix for tree bustage... :-( 2000-10-20 03:14:19 +00:00
gagan%netscape.com fe4616394d Fixes for bug 53580. No longer sending user/passwd in referrers. r=mscott, sr=scc. 2000-10-20 02:03:15 +00:00
gagan%netscape.com 1d14333aec Fix for bug 53965. Thanks Nikolay. Fixes posting with SSL proxies. r=gagan, sr=mscott. 2000-10-19 23:21:49 +00:00
morse%netscape.com 693abc1d79 bug 27687, can't log into yahoo mail, r=dveditz,gagan, a=gagan, sr=mscott 2000-10-19 21:15:20 +00:00
blizzard%redhat.com 56525a7354 Fix bug #56753. Assertions when initializing the http handler. r=gagan, sr=mscott 2000-10-19 20:05:00 +00:00
gagan%netscape.com 7642ed6405 Fixing the last addref I added. Part of the bug 32335 cleanup. 2000-10-19 07:08:22 +00:00
gagan%netscape.com bcb3c01e60 Fixes for bug 32335. Include the fix for the leak, changed to voidarray from ISupportsArray, and removed dependency on nsISupports for nsAuth. r=gagan, sr=mscott,brendan 2000-10-19 07:06:50 +00:00
blizzard%redhat.com 6161f6aad2 Fix bug #56753. The HTTP handler will now recognize if someone changes the misc field of the user agent after it's been created. r=gagan, sr=mscott 2000-10-16 19:24:11 +00:00
mstoltz%netscape.com f1137e89ec Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
gagan%netscape.com 5475b63c24 Fixing the solaris bustage. 2000-10-13 05:05:10 +00:00
gagan%netscape.com bbeb713db3 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
gagan%netscape.com 34549dbcd5 Fix for bug 31174. Misc. ssl related fixes for getting SSL proxies to work. r=ruslan,pavlov sr=dougt. Thanks nikolay.igotti@eng.sun.com 2000-10-13 03:18:55 +00:00
mscott%netscape.com e4420663eb Bug #54381 --> if we are loading an http url that ends in .dll and the server didn't
give us a content type, then assume it is an unknown content type instead of
looking it up in the OS. This fixes the case were sites use ISAPI.dll and don't
specify content types.
r=gagan, sr=rpotts
2000-10-11 22:54:19 +00:00
tao%netscape.com ca062d6d3e 54784: Chrome registry should flush stringbundle and XUL caching after
profile selection. r=hyatt,sr=alecf.
55156: localizable values are cached in the HTTP header. r=gagan, racham,
 sr=mscott.
2000-10-11 22:07:04 +00:00
rpotts%netscape.com 355a21abce bug #54239 (r=dougt). PSM can be initialized on the wrong thread... 2000-10-03 04:49:51 +00:00
mscott%netscape.com e5ecd9e189 Bug #44176 --> in order to have a progress dialog for helper apps, we reset the notifications. http
wasn't regenerating the proxied notifciation calls.
r=gagan
2000-09-22 03:44:13 +00:00
dp%netscape.com 8d3608aa5e bug 53122 OnFileAvailable() not being called due to release of
mCacheEntry by nsHTTPChannel before calling stop request. Delaying
release until after onStopRequest is called.

bug 51043 Caching cgi when we are not supposed to. Now we refetch a
page if there isn't Modified-Since header being sent. That isolates
cgis pretty well and keeps normal pages working as is.

bug 53272 Cache corruption triggers when we hit DNS errors. This is
due to the entry being in memory and never being flushed to
disk. Calling CacheAbort() on the error condition from
ResponseCompleted() takes care of that.
r=neeti, gagan
2000-09-20 07:13:03 +00:00
gagan%netscape.com 77bc43b390 Fix for bug 52257. mResponseDataListener could be null. r=valeski, brendan. 2000-09-18 23:29:30 +00:00
dveditz%netscape.com 1e0b99299b Bug 48504 correct user-agent for Windows ME. patch from Frank Faubert <frank@sane.com>
a=brendan, r=brendan,dveditz
2000-09-15 08:00:16 +00:00
rayw%netscape.com 3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
bryner%uiuc.edu 14b39559f7 This is the rest of the checkin to remove mozilla's dependency on building psm-glue. All security glue
interfaces and resources that aren't specific to PSM have moved to security/base.  The remaining psm-glue
interfaces which are used elsewhere in the code have been abstracted to be non-PSM-specific, and the call
sites changed to use the abstracted interface.  Bug 18352.  r=brendan,pavlov,shaver.  a=brendan.
2000-09-14 19:27:23 +00:00
dp%netscape.com 161724a90b bug 46147 Adding CacheAbort() for handing 400 errors from http
server and flushing the cache entry appropriately.
Also, releasing cache entry and cache channel before calling
OnStopRequest() from nsHTTPChannel::ResponseCompleted().
This should eliminate most of the cases of cache corruption
situations.
r=gagan,neeti
2000-09-14 18:52:57 +00:00
rayw%netscape.com 0257791053 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
brendan%mozilla.org 62b6238e92 Temporarily back out shaver's needed cleanup to remove wallet dependencies. 2000-09-13 21:49:39 +00:00
shaver%mozilla.org 13f37d3aa4 #18352: remove extensions/ dependencies. This breaks single-signon for now, r=valeski, a=brendan 2000-09-12 20:45:58 +00:00
gagan%netscape.com 3dacfdb699 Fixing mac bustage. 2000-09-11 07:01:28 +00:00
gagan%netscape.com 4c9c982273 Fix for bug 44041. Part changes from justin@ukans.edu. We were not handling multiple WWW-Authenticate headers. Basic auth was also busted becuz of a trailing nul problem that I've cleaned up. r=me. 2000-09-11 06:15:14 +00:00
mscott%netscape.com 259e029521 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
make the http event sync proxy async instead of sync. r=gagan
2000-09-08 00:21:44 +00:00
dp%netscape.com c1968dcd47 bug 48292 Releasing cache entry as soon as we are done rather than
waiting until nsHTTPChannel gets deleted, which apparently happens
after the next page finishes loading giving rise to all kinds of
interesting conditions if the current and next page are same. r=neeti
2000-09-07 18:24:28 +00:00
dp%netscape.com f56f1fb911 bug 50922 Removing content length hacks as we fixed the real cause of
the problem: mFile's stat cache not being updated. Also after writing
to the cache file, the writeStreamWrapper updates the content length
appropriately. So we dont have to manipulate from this level high. r=neeti
2000-09-05 21:45:10 +00:00
ruslan%netscape.com bed1612d85 Fix 50471, a=gagan,r=morse 2000-09-05 21:22:33 +00:00
scc%mozilla.org 2c01b7988d it's a repeating bad pattern ... several of the compilers don't want to make the change from |nsC[Auto]String foo = NS_ConvertASCIItoUCS2(x);| to |nsC[Auto]String foo(NS_ConvertASCIItoUCS2(x);| and so we have to use |CopyASCIItoUCS2(nsLiteralCString(x), foo);| instead 2000-09-02 22:39:18 +00:00
scc%mozilla.org 44952a090c fixing code that relied on implicit string construction 2000-09-02 21:47:30 +00:00
neeti%netscape.com 5581c703e6 Checking in dp's patch for bug 50619, Cache doesn't get updated after reload. r=neeti 2000-08-30 19:48:12 +00:00
dp%netscape.com ebc676cc3e - bug 41950 Getting redirects to work. Adding in LOAD_REPLACE to channel
attributes.
- checking return value from GetCacheContentLegth()
r=mscott,neeti
2000-08-29 03:16:16 +00:00
rpotts%netscape.com 9e7002ca9a bug #48546. THe HTTPPipelinedRequest now sets the load attributes on the socket transport before sending the request... 2000-08-25 04:50:25 +00:00
rpotts%netscape.com 53cea099da bug #48546. THe HTTPChannel now sets the load attributes on the cache channel before reading... 2000-08-25 04:49:25 +00:00
ducarroz%netscape.com 5008326187 Fix my bustage. Please use double-quote for include file. 2000-08-23 01:13:14 +00:00
ruslan%netscape.com fb0511b3d3 Fix form post bustage introduced by warren's stream changes 2000-08-23 00:05:48 +00:00
warren%netscape.com e05eef45e9 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
dp%netscape.com e0d0d03e65 bug# 49786 Setting up http protocol handler to support weak ref. r=gagan,valeski 2000-08-22 06:08:56 +00:00
warren%netscape.com e12f238589 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
scc%mozilla.org ad963283c3 fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org 3f0620d231 fixing code that relied on implicit string construction 2000-08-19 20:01:04 +00:00
ruslan%netscape.com 85852989f6 Fix 48358 - www.hotmail.com is blank; r/a=gagan 2000-08-18 19:39:27 +00:00
jgmyers%netscape.com 4a7c571858 fix host header syntax for IPv6 address literals: bug 45891 r=gagan a=waterson 2000-08-17 20:19:15 +00:00
dp%netscape.com b930aa66a7 Fixed debug stmt to reflect code changes around it. Not compiled by default. 2000-08-16 07:26:46 +00:00
ruslan%netscape.com 4331a40a89 Fix 46496, r/a=gagan 2000-08-10 22:38:56 +00:00
gagan%netscape.com f9c2459ff0 Fix for bugscape 1800. Offline mode would have sit in recursion. This was already fixed for the M17 branch just doing the same for the tip. 2000-08-10 22:11:13 +00:00
warren%netscape.com 84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
ruslan%netscape.com 742dc4b9cc Checking in the patch for 45337 by jgmeyers, r=ruslan,a=gagan 2000-08-08 22:16:05 +00:00
mozilla.BenB%bucksch.org 833aeeb8a2 45565: Add pref "general.useragent.override" to customize UA-string. r=valeski, a=brendan 2000-08-07 07:17:30 +00:00
valeski%netscape.com b01411aafc getting cookie service to startup in conjunction with the http category. 2000-08-03 22:03:34 +00:00
neeti%netscape.com 9f45bf9bd5 fix for bug 30852 - Image cache not refreshed on reload,
fix for bug 40449 - Cache does not store latest value of pages, r/a=gagan
2000-08-01 22:03:47 +00:00
neeti%netscape.com 70e2ba8ffa fix for bug 40084, [CRASH] Crash in disk cache code, backed out changes made on 7/27, put new fix
fix for bug 46014, No keywords loaded on bugzilla pages, r/a=gagan
2000-07-29 02:32:14 +00:00
warren%netscape.com 2b01440bc0 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
gagan%netscape.com bdfd65bf3b Fix for bug 44497. Ebay's wacky multiple Location responses were being appended. r=gordon 2000-07-24 23:41:26 +00:00
neeti%netscape.com 7929424256 fix for 46095.[regression] Submiting to a bug in bugzilla causes crash.a=leaf 2000-07-21 19:28:09 +00:00
neeti%netscape.com c5cd14f561 Fix for bug 38244 - modified files cached incorrectly,r=ruslan@netscape.com 2000-07-21 04:33:26 +00:00
ruslan%netscape.com c45d68256f Applying Justin's patch to fix 40203 (proxy ssl connect), a=gagan,r=myself 2000-07-21 00:03:39 +00:00
ruslan%netscape.com b9c45237c9 FInally fix 42283; a=gagan,r=gordon 2000-07-20 21:25:19 +00:00
gagan%netscape.com 9b8a52b0ae Fixed bug 39610. Failed http auth were not being deleted from the single signon database. r=morse. 2000-07-15 00:12:27 +00:00
ruslan%netscape.com 8d73f75efe Fix 45398, a=valeski, r=gagan 2000-07-14 23:01:53 +00:00
neeti%netscape.com 941c5c3615 fix for bug 40449, Cache does not store latest value of pages, r/a=gagan 2000-07-14 03:58:02 +00:00
tao%netscape.com 5e3d823791 39790 : [L12y] Move all localizable prefs into chrome:// .r=valeski. 2000-07-13 23:45:10 +00:00
dougt%netscape.com d84c495203 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
ruslan%netscape.com 35f63ff750 Fix MAC bustage 2000-07-12 23:20:04 +00:00
ruslan%netscape.com 4aa769b52f Fix 45061, a/r=gagan 2000-07-12 22:41:26 +00:00
gagan%netscape.com e65d13c7ea Fix for bug 22405 (proxy authentication) We were skipping over proxy authentication becuz proxytransparent was false. r=ruslan 2000-07-06 02:37:15 +00:00
ruslan%netscape.com d2c1fc301c Fix 42377 - make http SetNotificationCallbacks go through the proxy object, thus
avoiding crashers when OpenInputStream is used, a=gagan,warren
2000-07-05 22:57:50 +00:00
bienvenu%netscape.com 4d3c8ade88 fix OS2 build bustage 2000-07-02 23:56:10 +00:00
jab%atdot.org 3ff5cd0f65 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
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mcafee%netscape.com 4f37aec298 Properly set up pref callbacks for intl.accept_languages (41046). r=gagan 2000-06-30 02:58:13 +00:00
rusty.lynch%intel.com 2144abace3 new fix for bug #43958. r=gagan 2000-06-27 22:53:29 +00:00
dbaron%fas.harvard.edu e420995d51 Fix leak of an atom. r=gagan 2000-06-27 21:51:38 +00:00
morse%netscape.com 5524653464 fix bug 43886, single signon no longer works, r=jefft 2000-06-27 21:13:50 +00:00
blizzard%redhat.com 565f3bc5c6 fix for bug #42008. make HTTP basic auth case insensitive. r=shaver,brendan,gagan,valeski a=brendan. 2000-06-27 21:06:41 +00:00
jst%netscape.com f3870bb60a Fixing tree blocker 43958 by backing out the last change to this file since it broke my.netscape.com, developer.netscape.com, webmail.netscape.com and probably other sites too. a=granrose 2000-06-27 20:42:01 +00:00
rusty.lynch%intel.com 331b3696f8 part of a fix for bug #40321. r=gagan 2000-06-26 20:58:04 +00:00
gagan%netscape.com abcc8704b2 Fix for bug 42841. We were sending a Host: foo:80 header for the default port cases. Several server cgi's that rely on this for virtual hosts were failing to compare the two as same. r=dougt,rjc Ooops... I think I ran this file thru my deruslanizer too. 2000-06-24 02:02:19 +00:00
dougt%netscape.com 8b638a4c67 I IDL-ifying the nsProxyObjectManager.
I have updated all users that I found
grepping the source tree.

r=valeski@netscape.com
a=waterson@netscape.com
b=43131

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
neeti%netscape.com 806b070ae2 fix for bug 43345.browser.cache.enable check, r=warren/gagan 2000-06-23 13:42:46 +00:00
waterson%netscape.com a9a101fcda Fixed refcounting. r=warren 2000-06-23 04:46:58 +00:00
waterson%netscape.com 66a05bec2a Bugs 21650, 42586. Remove nsISocketTransportService::LateInit(), move code that gets string bundles to lazily grab the bundle when it's needed. This avoids re-entrancy into the service manager which causes a leak. r=dbaron,warren 2000-06-23 02:02:04 +00:00
gagan%netscape.com e1ca0a01b8 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
rpotts%netscape.com bc1231c40d Added new PR_LOG... 2000-06-19 05:59:50 +00:00
ruslan%netscape.com e5c5748b64 Fix potential crasher (42714), r/a=gagan 2000-06-16 21:49:43 +00:00
danm%netscape.com d1432bb1bc adding accessor for nsIPrompt member variable. bugs 25684,28594. r=gagan@netscape.com 2000-06-16 14:52:53 +00:00
valeski%netscape.com f0fec56b70 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
dougt%netscape.com 13b776abeb Fixing nsIWebFilters not being handled by the http handler. Also making
CreateInstance=>GetService.

r= gagan@netscape.com, a=brendan@mozilla.org
2000-06-15 01:50:08 +00:00
ruslan%netscape.com db2a9ca151 Fixing 22103, a=gagan 2000-06-14 01:35:24 +00:00
scc%mozilla.org 15d3db85b9 don't extract characters from empty strings. 2000-06-11 08:25:32 +00:00
ruslan%netscape.com 7e3ea9ecc2 WIP on 40203; a=gagan 2000-06-10 02:12:03 +00:00
shaver%mozilla.org a0faa405eb fix crashes in HTTP auth (41404, 41517, r=waterson, a=leaf) 2000-06-05 15:19:32 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
warren%netscape.com d7efda20c4 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433 2000-06-02 23:41:43 +00:00
warren%netscape.com 88151adad6 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433 2000-06-02 23:39:45 +00:00
shaver%mozilla.org e21b687d60 make HTTP auth pluggable (#39781), r=gagan 2000-06-02 00:23:56 +00:00
sspitzer%netscape.com f46ad05a0b fix for bug #40248. I was using the category manager incorrectly.
thanks to bruce@cubik.org for pointing it out.
2000-06-01 04:14:34 +00:00
ruslan%netscape.com 22da84ab41 Fix 29219, a=gagan 2000-05-30 22:50:29 +00:00
ruslan%netscape.com f01435de0d Fix 40189, a=gagan 2000-05-25 23:20:30 +00:00
brade%netscape.com 7c6a2b6db7 File Removed. 2000-05-25 17:43:06 +00:00
warren%netscape.com 3658e33085 Removing URIParser attribute from nsIURI interface. Fixed Equals for case when port is the default. Cached URL parsers (all 3) to reduce object allocation. r=andreas,dp 2000-05-25 08:27:40 +00:00
ruslan%netscape.com 1dc3f55d09 Fix 39107, a=gagan 2000-05-24 23:04:57 +00:00
dougt%netscape.com d83290854c Fix for 31164, possibly 35658, and prep work for 31174.
1) Passing the proxy hostname and port to the underlying socket
   and changing all users that appeared in lxr.

2) (psm-glue) registering with the cache manager to allow local loopback so that
   psm will work with a proxy.

3) (psm-glue) Storing proxy information in psmSocketInfo.

most reviewed by gagan@netscape.com.
2000-05-19 22:56:12 +00:00
warren%netscape.com 5f6b57ef08 Bug 39416. Made ftp work with single sign-on for more than one user/host. 2000-05-17 07:12:40 +00:00
davidm%netscape.com ad449f9480 21250 Need to implement stream-as-file service 2000-05-17 05:14:29 +00:00
ruslan%netscape.com 4308d3b7b4 Fix 18886 - handle http 305 response correctly to close the potential
security hole
2000-05-17 00:11:12 +00:00
warren%netscape.com 618d468469 Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse 2000-05-16 05:35:23 +00:00
pierre%netscape.com 1c43ecaae7 Fixed a crash at startup on the Mac (a null-check on 'mProxySvc'). 2000-05-12 12:02:26 +00:00
rpotts%netscape.com 19ef116f5d Fixed progress notifications to respect the nsIChannel::LOAD_BACKGROUND flag 2000-05-11 21:52:49 +00:00
gagan%netscape.com d743807245 Fixed bug 37347. HTTP HEAD requests should work now. 2000-05-10 00:48:28 +00:00
ruslan%netscape.com 30c7b669cb Make sure SetUploadStream actually works when it's used. 2000-05-09 00:20:09 +00:00
ruslan%netscape.com 70743656bb Fix 37778 - now handle simple (no status line/headers) http response correctly 2000-05-08 23:04:36 +00:00
warren%netscape.com 185c96de20 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
warren%netscape.com eb6959f7b7 Fixed mac build warnings. 2000-05-06 09:07:31 +00:00
warren%netscape.com ef76c2b488 Revert accidental checkin 2000-05-06 05:10:25 +00:00
warren%netscape.com f12a631a47 build changes for unix 2000-05-06 05:07:10 +00:00
bryner%uiuc.edu def54c7bfe Fixing objdir build bustage. 2000-05-06 03:54:17 +00:00
ruslan%netscape.com a2835b9b4f Fixing 36641 2000-05-06 00:06:28 +00:00
gordon%netscape.com 4179731e26 Added :streamconv:converters: to access paths, preparing for ruslan's checkin. 2000-05-05 23:54:29 +00:00
andreas.otte%primus-online.de e365632082 first round of checkins to fix bug 37616, Retire SetRelativePath, r=warren@netscape.com 2000-05-05 23:39:25 +00:00
gagan%netscape.com 12143c560d Flush out auth entries for 401 auth denied responses. And some filter work... 2000-05-05 09:46:24 +00:00
gagan%netscape.com bc9cc0db50 Fix for bug 22534 and an optimization of storing the nsIOService. 2000-05-03 22:03:33 +00:00
ruslan%netscape.com 9abfac20be Fix build bustage 2000-05-03 00:33:20 +00:00
ruslan%netscape.com 7a02f0ac9e Fix for 37800 - API change: SetRequestMethod now has to take Atom
as method name
2000-05-03 00:18:08 +00:00
rpotts%netscape.com 5b090df791 Fixed typo in HTTP header string If-None-Match. Thanks to Morgan Owens (packrat@nznet.get.nz) for finding it!! 2000-05-01 23:30:21 +00:00
ruslan%netscape.com fb229030db Fix 37632 2000-05-01 23:02:59 +00:00
mkaply%us.ibm.com 7f601e72bc # 37239
r= warren@netscape.com
OS/2 bring up continues - Fix some #ifdefs, and add code to set OS/2 as a platform and query OS/2 version
2000-05-01 22:35:28 +00:00
ruslan%netscape.com 47a5c1c6fe Fix 21561 - force revalidation of the cache when Vary header is sent. 2000-04-28 21:12:29 +00:00
ruslan%netscape.com 89455c8bd4 Turn on nsHTTPFinalListener to fix various notification bugs, r=gagan. Make
disk cache classes implement threadsafe_isupports, r=davidm, add placeholder
for resource bundles for necko.
2000-04-28 06:36:31 +00:00
gagan%netscape.com 47730f25c5 Fix the form posting problem. I forget the bug number... r=ruslan 2000-04-27 01:06:57 +00:00
slamm%netscape.com ab6e3eb4e6 Fix declaration order to quiet build warning 2000-04-26 14:31:01 +00:00
ruslan%netscape.com b1b30f1cad More complete update to the previos check in. Don't even instatiate
the final listener as we're not using it anyway.
2000-04-26 00:11:30 +00:00
ruslan%netscape.com 64f18e376a Don't fire OnStopRequest just yet when the channel gets Cancelled (until
the receiver learns how to handle it correctly), r=imoT, a=leaf. Used to
crash when following expedia link from msn.com
2000-04-25 23:59:25 +00:00
ruslan%netscape.com bf2899be7e Fix 37084 (blocker), r=gagan 2000-04-25 19:11:26 +00:00
mscott%netscape.com af345b89b5 when determining progress for a cache entry, use the content length
for the cache entry as the total max progress. This change gives us more accurate progress for loading
entries from the cache for http.
2000-04-25 01:52:24 +00:00
ruslan%netscape.com e2f6dc5f92 WIP on 33508, 28890. Adjust response timeout up to 120 seconds by default
as well.
2000-04-25 01:27:30 +00:00
mscott%netscape.com 45086e55f1 These changes are actually valeski's. I'm checking them in for him. These changes are to make http
report proper progress to the consumer of the url. Before, http was reporting the socket's progress instead of
its own. That information wasn't very useful.

r=mscott
2000-04-22 22:40:40 +00:00
gagan%netscape.com 498c2f6afa Fixing a bad merge. Reordered WriteRequest with ReleaseTransport in OnStopRequest. 2000-04-22 01:23:29 +00:00
gagan%netscape.com 9508ade32b 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
davidm%netscape.com fb6e1358f4 32956 Triggering same xpi file in same session fails (mem cache on r = ruslan 2000-04-21 23:23:59 +00:00
ruslan%netscape.com 595465200a Be more conservative when checking that the keep-alive connection has
died. On some platforms it can come out as eof and on some (windows)
it'll come out as "connection aborted".
2000-04-21 01:27:48 +00:00
ruslan%netscape.com e987cc8f7c Adjust transport socket timeout everytime it's getting put back into the
work queue. Fix WinGate crash (32048) by stopping using polable events in case
when creation of pollable event has failed (until nspr finds a real solution).
Fix 36445. Apply slamm's patch to shut off some compiler warnings.
2000-04-20 01:10:30 +00:00
dougt%netscape.com be9041ad6d Fix for 36236. Make all https channels use the load flag:
INHIBIT_PERSISTENT_CACHING.  r=davidm@netscape.com
2000-04-19 19:59:40 +00:00
ruslan%netscape.com b87f67fa02 Fire OnStop on the right listener 2000-04-19 04:19:18 +00:00
ruslan%netscape.com 47ad451eae Fix 24884 2000-04-19 03:55:56 +00:00
mccabe%netscape.com 0f18167887 Removing errant classname:: in method declaration in class definition, for Ruslan. To fix bustage. 2000-04-18 04:44:20 +00:00
ruslan%netscape.com 55a5f44203 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
andreas.otte%primus-online.de a08836f1a8 fix bug 33868 [URL encoding for Basic Realm authentication doesn't work], just unescape the prehost, r=gagan@netscape.com 2000-04-16 07:16:28 +00:00
scc%netscape.com df36229f97 making string conversions explicit 2000-04-15 06:52:12 +00:00
gagan%netscape.com bc24301e63 Fix for bug 28950. Header values in nsHeaderEntry are now CString instead of the nsString. 2000-04-15 03:22:36 +00:00
ruslan%netscape.com 3485166c98 Implement firing of OnStartRequest regardless of the error code but don't
enable it yet till the webshell is fixed.
2000-04-15 00:01:23 +00:00
ruslan%netscape.com 848ca9862f Fix 35508, 33762, 35024. 2000-04-14 21:10:27 +00:00
ruslan%netscape.com e30c647fbc In case of getting Connection: close during http/1.1 response - don't
record the capabilities of such server.
2000-04-13 21:19:27 +00:00
ruslan%netscape.com 5dff88a180 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 6658571391 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 084eb9ad88 Fix 35344, r=dougt, a=leaf 2000-04-10 21:41:55 +00:00
ruslan%netscape.com 6d0e87ac8e Fixing the first part of 35344, r=dougt, a=leaf. 2000-04-10 20:02:33 +00:00
cls%seawood.org 932870c3c6 Set SHORT_LIBNAME for 8.3 platforms. 2000-04-08 00:39:39 +00:00
ruslan%netscape.com 600f5592b7 Fix pipelining case when chunk encoding stream is pushed (pipelining is
not a default yet).
2000-04-05 05:08:40 +00:00
ruslan%netscape.com 40c957386d Fix uninitialized variable. Minor code cleanup. 2000-04-05 04:38:08 +00:00
ruslan%netscape.com 2f521bf728 Landing the next batch of http pipelining changes. Still not enabled by default
(but you can set a pref in all.js and it'll work and some sites will load
ultra-fast). pipelining_reorg_point2 is pre-checkin tag in case of major
bustages (which there should be none).
2000-04-05 01:43:57 +00:00
bruce%cybersight.com ac75c5e962 Re-order constructor stuff to remove warnings. 2000-04-02 00:59:38 +00:00
scc%netscape.com e6ee6bb3f2 making string conversions explicit 2000-04-01 23:29:51 +00:00
scc%netscape.com bedd8b30b7 making string conversions explicit; fixing some |nsCOMPtr| usages 2000-04-01 23:25:15 +00:00
ruslan%netscape.com eae17b4d91 Fix a small memory leak in OnStopRequest introduced by earlier checkins 2000-04-01 08:13:48 +00:00
ruslan%netscape.com d60b972e28 Fix potential crasher when we hit max-conections and wait (resulted from
quick and dirty mac-bustage fix - it introduced erroneous extra ns_release).
2000-04-01 08:04:06 +00:00
ruslan%netscape.com 0713b87afe Fix MAC bustage - quick and dirty. 2000-04-01 06:50:56 +00:00
ruslan%netscape.com 9586219ba8 Fix linux build bustage 2000-04-01 05:59:27 +00:00
ruslan%netscape.com 5db8127f56 Landing first cut of http pipelining (2487). Don't turn it on yet. Also fix
sockettransport leakage (33929). In case of major bustage - pipelining_reorg_point
is the tag before the check in.
2000-04-01 05:19:33 +00:00
valeski%netscape.com 631cb6c898 preperation for new string api changes. We still have the potential for data loss here if pushbackbuffer contains double bytes, but we're better off then the old memcpy 2000-04-01 00:29:51 +00:00
rickg%netscape.com 6ca9f83017 removed references to nsString2 2000-03-31 10:05:30 +00:00
ruslan%netscape.com fb1e0141c1 Fix solaris build bustage, r=gordon 2000-03-30 23:07:04 +00:00
ruslan%netscape.com 06052d9920 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
jim_nance%yahoo.com dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
tbogard%aol.net 2f30133a36 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
warren%netscape.com 8426271c58 Removed extra number of open transports test. 2000-03-29 06:44:10 +00:00
warren%netscape.com 727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
ruslan%netscape.com 33a244dd7b Fix 33688. When both - chunked and compressed response comes in converters
were pushed in the wrong order.
2000-03-29 03:35:14 +00:00
ruslan%netscape.com 68a01f2642 Fix 33631 - crash when 304 is received but there's no entry in the cache. 2000-03-29 02:35:00 +00:00
ruslan%netscape.com 345a257009 Misc code cleanup. Also apply another keep-alive proxy patch from
Tomi.Leppikangas@oulu.fi
2000-03-29 00:04:27 +00:00
ruslan%netscape.com 51e62f74cf Fix 33259. Make a maximum number of http connections configurable - network.http.max-connections=8 (current default) 2000-03-28 22:47:57 +00:00
ruslan%netscape.com a407c24ee5 Fix 23263 - mem cache assert on shutdown. 2000-03-28 19:41:59 +00:00
dougt%netscape.com 3536082a49 parital fix for 31167. Allowing http response header security attribute
to come from preferences. r=valeski@netscape.com
2000-03-28 11:45:25 +00:00
scc%netscape.com 785754a95e small changes to clients of string converting APIs 2000-03-26 02:12:47 +00:00
cls%seawood.org 7d1615e3ae Some compilers (HP-UX) don't like it when the file doesn't end in a newline. 2000-03-25 05:57:22 +00:00
ruslan%netscape.com e98cc64fb6 Continuing earlier http reorg. There's no need to call mHeaders.Clear () as
formHeaders () is called just once anyway.
2000-03-25 00:49:41 +00:00
ruslan%netscape.com 1c7c27cb30 Prevent certain headers to be sent out twice during the recovery loop when
the keep-alive connection is closed by the server.
2000-03-24 23:33:03 +00:00
ruslan%netscape.com 77aabe9130 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
dougt%netscape.com 9016cdb15c removing protocol/http/res from build. 2000-03-22 02:44:36 +00:00
dougt%netscape.com e38031a522 removing res from http build path on windows. 2000-03-22 02:42:50 +00:00
valeski%netscape.com e34b119ffa r=jst. 30067. OSCPU User agent attrib is now exposed. 2000-03-21 22:38:40 +00:00
ruslan%netscape.com b096f987bc Never recycle the socket transport if the server responded with Connection: close 2000-03-21 01:36:18 +00:00
ruslan%netscape.com 663ce37b96 Cleaning up keep-alive/proxy loop and eliminating redundant code. 2000-03-19 10:17:00 +00:00
ruslan%netscape.com 47f14ee01c Do proper QI to get the transport within the keep-alive loop 2000-03-19 03:18:32 +00:00
ruslan%netscape.com cc358edad9 Fix 31882, 31884, 31979 (all keep-alive fixes + patch from Tomi.Leppikangas@oulu.fi) 2000-03-18 18:39:41 +00:00
gagan%netscape.com 12f6758fba Argh... checkin aborted while I was editing nsHTTPChannel.cpp. Fixed bug 25868. nsAuth now has an Init method so that things will work ok after a logout (new auths will be created). Other misc. code cleanup. Also changed QI implementations to standard macros. 2000-03-18 04:54:56 +00:00
gagan%netscape.com 23bb5d5c49 Fixed bug 25868. nsAuth now has an Init method so that things will work ok after a logout (new auths will be created). Other misc. code cleanup. Also changed QI implementations to standard macros. 2000-03-18 04:51:00 +00:00
dougt%netscape.com 8126ff53b4 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
jst%netscape.com 872a669579 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
pavlov%netscape.com c1098deaeb don't build psm stuff here anymore on unix 2000-03-14 06:09:41 +00:00
ruslan%netscape.com c9b313d004 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 c6349ecc8b 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
rickg%netscape.com ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
pavlov%netscape.com 37f09b396e added files: mozilla/netwerk/protocol/http/src/nsHTTPSHandler.cpp 2000-03-11 05:39:48 +00:00
pavlov%netscape.com ff7a889382 adding crypto stuff to the tip 2000-03-11 04:33:39 +00:00
pavlov%netscape.com ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
valeski%netscape.com 5d687a417b r=dveditz. a=jevering. 31001. we're now using backwards compat OS strings in the UA 2000-03-09 22:29:00 +00:00
gagan%netscape.com 5ffd271541 Removed some dead #if 0 code. 2000-03-08 02:31:25 +00:00
gagan%netscape.com 32821cfb59 Added #include for nsIHTTPEventSink as well... Should fix the solaris bustage. 2000-03-08 01:11:06 +00:00
gagan%netscape.com faf228f2f5 Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages.
Fixed bug 24329-- proxy auths. We were not using the new call to setOverrideRequestSpec.
Part fix for bug 27048, HTTP now uses nsIHTTPEventSink and uses nsIPrompt for authentication.
r=valeski,a=jar
2000-03-08 00:31:49 +00:00
gagan%netscape.com 0515578bb7 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 3c24439a40 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 ea8f94b7c2 added files: mozilla/netwerk/protocol/http/public/nsIHTTPEventSink.idl 2000-03-08 00:22:08 +00:00
gagan%netscape.com 199934c425 First checkin. Not in the build yet. Moving the HTTP event sink from .h to .idl. 2000-03-04 00:40:35 +00:00
gagan%netscape.com c0a4c6e6e7 Fix for bug 29477 on behalf of norris. r=gagan. 2000-03-02 21:45:51 +00:00
bruce%cybersight.com 53f52035ac Fix small, localized leak of HTTP atoms. Well tested on MacOS and under Purify with no ill effects. r=gagan 2000-03-02 13:45:28 +00:00
valeski%netscape.com e180ae64bd 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
rpotts%netscape.com 3c6be86c6c Fix unix build bustage... 2000-02-29 05:05:08 +00:00
rpotts%netscape.com 7cf8d22c22 bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels... 2000-02-29 04:44:37 +00:00
tbogard%aol.net cf5a3f3925 Changed nsIAppShellService and nsIWindowMediator to talk in terms of nsIXULWindow instead of nsIWebShellWindow. Also removed the function nsIAppShellService::RunModalDialog since windows should be created using the nsIDOMWindow::OpenDialog. r=danm a=jevering 2000-02-29 00:20:55 +00:00
gagan%netscape.com 7cdb864d4a Made the crash go away only in release builds... hopefully this will help us track the real problem. a=jevering. 2000-02-24 05:36:52 +00:00
bienvenu%netscape.com 8464f8f4be fix build bustage for gagan 2000-02-24 02:44:44 +00:00
gagan%netscape.com e96a097007 Removed the check for proxy types here with the latest change in protocolproxyservice. r-valeski 2000-02-24 02:09:46 +00:00
rpotts%netscape.com 5a08fda337 bug #23777 (r=valeski). Reworked the parsing of the HTTP server version to avoid a floating-point rounding error which caused the server version to be incorrect... 2000-02-23 23:57:20 +00:00
valeski%netscape.com b91b7e2bc2 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
norris%netscape.com d64387736b Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
gagan%netscape.com d4293a9bc7 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
rpotts%netscape.com af2ce4b071 bug #21556. Gave nsHTTPChannel, nsHTTPResponseListener, nsHTTPRequest and nsHTTPEncodeStream thread-safe implementations of AddRef() and Release() since those methods are called on multiple threads... 2000-02-23 04:38:42 +00:00
rpotts%netscape.com 134ab7531e Partial fix for bug #24711 (r=valeski). If a channel which had been deferred because no socket transports were available resumed and found a valid cache entry it would stall (never finish). A notable example of this was http://www.abcnews.com 2000-02-19 00:58:22 +00:00
cls%seawood.org 5975077af0 More tweaks needed to get BeOS to compile for M14. For now, we use the Unix local file implementation. a,r=leaf 2000-02-17 20:24:24 +00:00
valeski%netscape.com be539d4664 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 e1232219fd 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
rpotts%netscape.com f374d65746 Fixed purify [UMR] by initializing mProxyPort 2000-02-12 06:15:19 +00:00
gagan%netscape.com d33614c999 I am an idiot... 2000-02-11 11:42:38 +00:00
gagan%netscape.com d30e9b3501 removed an unnecessary include. 2000-02-11 01:34:07 +00:00
gagan%netscape.com eb18765135 Fixing horkage... God please stop allowing people to use gotos in C++... 2000-02-11 01:26:23 +00:00
valeski%netscape.com a6d3ec685f removing extraneous export on a file that DNE anymore 2000-02-11 00:55:01 +00:00
gagan%netscape.com fa0c3e93e6 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
mscott%netscape.com 231db667cf bug #26959 and bug #26958 --> if create category service returns an error, don't force an abort
on creating the http protocol handler.
r=valeski.
2000-02-09 08:25:11 +00:00
valeski%netscape.com 8dc8022117 getting the rest of necko to use the mimetypes file. also added protection for UA string setup 2000-02-09 05:04:52 +00:00
dp%netscape.com 27d5d590f9 Fixing build.
<valeskiAIM> dp: go baby go
2000-02-08 07:29:47 +00:00
sfraser%netscape.com 538f890b73 Removed nsHTTPHandlerFactory.cpp for valeski. 2000-02-08 06:25:58 +00:00
valeski%netscape.com 6de717d753 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 41aaf9a069 HTTP protocol shall startup every cid/progid as a service under
NS_HTTP_STARTUP_CATEGORY. This will be used by cookies to come alive. r=gagan
2000-02-08 06:08:27 +00:00
dp%netscape.com 166c6d1f48 Adding NS_HTTP_STARTUP_CATEGORY r=gagan 2000-02-08 06:05:36 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
warren%netscape.com 9e08bb8519 Added stream buffering. Made file transport use it. Bug #19233 r=dougt 2000-02-04 07:31:43 +00:00
sspitzer%netscape.com 96a0249281 change to allow someone to use the "no strip url" interface in wallet.
no one is using it yet, because it doesn't work.

r=mscott
2000-02-03 05:01:42 +00:00
valeski%netscape.com 41512e1d6a URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +00:00
pp%ludusdesign.com 48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
sdagley%netscape.com 813f53ead8 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
norris%netscape.com 8c000f9285 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan
2000-01-25 04:42:01 +00:00
gagan%netscape.com a6fa44fcaf Fix a mem leak (spotted by Pav) r=me 2000-01-25 02:29:33 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
gagan%netscape.com f02c2858ee Fixing build breakage... reordered the #includes. 2000-01-19 06:34:25 +00:00
gagan%netscape.com 6b2f2d91f1 Fix for 22405. Proxy auth is in. I have also created a separate bug for making this persistent 24329. 2000-01-19 05:09:07 +00:00
gordon%netscape.com 3dfff899f2 Fix for bug #20177. Make sure string is set if GetSpec() fails inside http logging code. 2000-01-19 02:27:00 +00:00
gagan%netscape.com d3535034d0 Fix for 13380. We now send Accept-Language: header. 2000-01-19 00:38:51 +00:00
bruce%cybersight.com 0e1e840e66 Speeling cownts. r=shaver 2000-01-17 21:28:22 +00:00
mscott%netscape.com 621285eca6 set the referring url on the http channel so callers don't have to do it explicitly every time.
r=warren
2000-01-17 19:48:16 +00:00
gagan%netscape.com a905c41b20 Fixed bug 17293, 17244, 20814 -- all because some servers wouldn't understand lowercase HTTP headers. We now send HTTP headers in compatible case as 4.*. r=rpotts 2000-01-16 06:59:43 +00:00
rpotts%netscape.com be79b9fb76 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
sspitzer%netscape.com d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com ae47d277d3 Moved CIDs to nsIURLParser.idl to avoid mac bustage. 2000-01-14 11:09:17 +00:00
warren%netscape.com d8a0af4191 Added access path. 2000-01-14 10:14:19 +00:00
warren%netscape.com ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
valeski%netscape.com 3e0cabea46 r=gagan. 17647. we digesting content-type comments as legitimate header values. now we're not 2000-01-13 23:22:25 +00:00
pp%ludusdesign.com 698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rpotts%netscape.com 023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
dougt%netscape.com 431b7b0e81 Including nsCRT.h directly. This prep work for the nsIFile landing. 2000-01-03 23:27:52 +00:00
valeski%netscape.com 413cbd982c 22534. r=gagan. We were leaking a single byte on non uname/pwd inclusive url's that required authentication, and we weren't over-writing the auth string when a auth realm wanted new credentials. 1999-12-29 21:55:18 +00:00
sspitzer%netscape.com be5b3406df fix warning 1999-12-29 00:23:43 +00:00
bryner%uiuc.edu 77d764168e Fix a compiler warning by reordering initializers. r=syd. 1999-12-24 22:11:18 +00:00
valeski%netscape.com 05c79fee6b r=gagan, a=don. 21599. we were breaking when we received an incomplete status line. Now we are sure to buffer the line until we receive all of it. we also do this buffering for headers now. 1999-12-22 22:15:55 +00:00
fur%geocast.com 0c469bc6e4 Reorder one class member initialization line to fix a warning. 1999-12-18 15:47:20 +00:00
fur%geocast.com 8ee9698da7 Fixes for HTTP 1.1 compliance with caching, a:chofmann
Fix #21569 (Use Etag header for cache validation, when present)
  Fix #21572 (Obey must-revalidate directive, when present)
1999-12-18 15:46:43 +00:00
mscott%netscape.com aabdc49dd6 fix mem leak of the http handler and the http request objects.
Add GetnsAuthEngine to nsIHTTPProtocolHandler, remove nsHTTPHandler::GetInstance, force callers to
go through the service manager. remove the http handler factory code since we just need the http
module
r=warren
1999-12-17 00:44:31 +00:00
rpotts%netscape.com b8fa07f3ff bug #21884 (r=mscott) bug #21459 (r=warren). I'm checking in the changes for 21459 again with an important fix for the image crashes :-) 1999-12-16 07:59:25 +00:00
mscott%netscape.com 94216118f1 Bug #21884 --> backing out Rick's changes to http to fix this regression crasher tonight.
a=chofmann
1999-12-16 06:06:00 +00:00
rpotts%netscape.com 1aafb0dcce bug #21459 (r=warren). Made the consumer OnStopRequest fire before the channel is removed from the loadgroup... 1999-12-15 23:12:48 +00:00
valeski%netscape.com a58f6dc3b6 21197. a=jevering, r=rpotts. On a redirect we were firing header notification *after* the rediect which broke sites trying to set and retrieve a cookie using a redirect. Now we fire on headers before processing status code 1999-12-14 23:07:29 +00:00
rjc%netscape.com 4ace8bbaaa Fix PDT+ bug # 21236: don't null out mResponseContext, as it needs to be valid for the life of the channel. (Its a nsCOMPtr, so it'll automatically release when it falls out of scope.) 1999-12-11 21:24:50 +00:00
fur%netscape.com 14b7a8cb5a Move OnHeadersAvailable() after processing of server's "Not Modified" response,
so that the cached HTTP headers can be substituted for the 304 response headers.
1999-12-08 06:37:28 +00:00
morse%netscape.com 022b1a3ef9 fix bug 21083, multiple cookies being ignored, r=valeski 1999-12-08 05:07:31 +00:00
fur%netscape.com fc0e0c24cf Fix mac build bustage. Use LL* macros with int64 types 1999-12-08 04:56:15 +00:00
fur%netscape.com e00611be38 Fix usual bustage due to not including header with an nsCOMPtr type 1999-12-08 04:08:48 +00:00
fur%netscape.com e8deaace7a + Fix unix build bustage: Add explicit casts to XPIDLCString rvalues.
+ Fixed warnings
1999-12-08 04:04:26 +00:00
fur%netscape.com bb2347d383 Disable cache by default on Windows 1999-12-08 03:25:44 +00:00
fur%netscape.com 1f6919c4a6 Bug #8305 (Implement cache). Whacked the HTTP protocol handler hard to support caching. 1999-12-08 03:23:14 +00:00
valeski%netscape.com 2cf1b6fae4 r=rickg. replacing a char const w/ an int literal 1999-12-07 08:58:50 +00:00
valeski%netscape.com 43c04c96a7 20956. r=rpotts. necko no longer assumes any MIME type. we send out application/x-unknown-content-type internal MIME type if we don't *know* what the type is. It's now truly up to the app to figure out what to do" 1999-12-07 06:59:25 +00:00
rpotts%netscape.com c41e03ef63 bug #20490 (r=valeski). Fixed problem where OnStopRequest was being fired (incorrectly) on 30x and 40x redirects... 1999-12-07 06:35:55 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
fur%netscape.com 4f385605be Fix build bustage on Linux 1999-12-03 02:59:37 +00:00
fur%netscape.com 4a9b290d72 More infrastructure work in support of bug #8305 (Implement
cache).  Added several nsHTTPResponse methods dealing with
header parsing and manipulation of date-containing header fields.
(None of these methods are yet invoked.)
1999-12-03 01:51:07 +00:00
fur%netscape.com c434d9514d Quash warning 1999-12-03 01:45:22 +00:00
fur%netscape.com 316fe1fcf8 Added missing HTTP header atoms 1999-12-03 01:44:38 +00:00
rpotts%netscape.com ed1cb83b57 bug #13157 (r=valeski). Added support for HTTP/0.9 server responses. This fixes a whole class of bugs where CGI scripts were displaying blank pages because we just ignored the response :-( 1999-12-02 23:09:15 +00:00
mscott%netscape.com 91e51cd9f8 oh the horror! We were leaking all channel listeners that ran through the http channel. Fixed the
leak by using a nsCOMPtr.
1999-12-02 09:11:51 +00:00
fur%netscape.com a9a35d34c5 Laying the foundation for the incorporation of caching, by
reorganizing/splitting protocol handler methods, though not yet adding any
new functionality:

    Allow for multiple instances of nsHTTPResponse to be associated
    with the same connection, i.e. so that response headers from the
    cache and response headers from the server can coexist
    simultaneously.  To wit:

        Moved content-length, charset and content-type information
        from nsHTTPChannel into nsHTTPResponse

        Split into separate functions the accumulation of a single line of
        HTTP header data (from the input stream) and the parsing of
        that line.  This permits cached response headers and server
        response headers to be parsed from separate data sources, the
        latter arriving from a nsIBufferInputStream and the former
        retrieved from the cache as a string.

        Moved the newly-created header-parsing methods to
        nsHTTPResponse from nsHTTPResponseListener

    Fixed some bugs in the interaction between AsyncOpen and
    AsyncRead.  It was possible for an OnHeadersAvailable event to be
    triggered *after* the associated OnDataAvailable, rather than the
    other way around.  It was also possible, in a rare case, for
    mOpenObserver->OnStopRequest() to be called without ever having
    called mOpenObserver->OnStartRequest().  I think my changes made
    the logic a bit more foolproof.

    Removed ancient ifdef NSPIPE2
1999-12-02 03:53:28 +00:00
rpotts%netscape.com 1b0f903b3f (r=valeski) Fix for new bloat (leaking HTTPChannels) that was introduced yesterday 1999-12-01 04:32:58 +00:00
warren%netscape.com fc8a2a4eb2 Added include of nsNetUtil.h to pick up NS_NewSyncStreamListener 1999-11-30 05:32:14 +00:00
valeski%netscape.com 7e72cd5bf7 18434. r=rpotts. HTTP now implements OpenInputStream and proxies event sink callbacks between the caller and the transport. 1999-11-30 04:15:27 +00:00
dougt%netscape.com f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
mscott%netscape.com ab7eb32184 modify SetLoadGroup to work with retargeting.
r=rpotts
1999-11-30 00:10:37 +00:00
warren%netscape.com 2d07d1ec0a Added nsIHttpEventSink.h 1999-11-24 05:49:38 +00:00
valeski%netscape.com 67698d87bd bustage fix. comptr include ordering problem 1999-11-23 23:15:16 +00:00
valeski%netscape.com eed079587d bustage attempt. chasing comptr fun 1999-11-23 23:14:08 +00:00
warren%netscape.com e91b1c3cbe First Checked In. 1999-11-23 23:03:43 +00:00
valeski%netscape.com 74f4362cfb 18434, r=rpotts. HTTP now implements AsyncOpen. AsyncOpen will be used by URI dispatching 1999-11-23 22:23:06 +00:00
waterson%netscape.com d3cae83201 Fix nsNetModuleMgr and nsNetModRegEntry leaks. r=valeski 1999-11-23 20:47:25 +00:00
rpotts%netscape.com a37eb4c71f bug #19303. HTTPHeader entries were leaking... I checked in a modified version of beards patch. 1999-11-22 07:02:44 +00:00
valeski%netscape.com 3687cfa049 fixing build bustage 1999-11-20 23:23:59 +00:00
valeski%netscape.com 096a415b0e 6144, I'm checking in gagan's code for him as he's gone. r=valeski, r=gagan :). This checkin drops in HTTP authentication caching so you don't get hit w/ multiple auth dialogs when accessing auth requiring sites that have images in their html 1999-11-20 22:11:15 +00:00
sfraser%netscape.com 0ad5eff0a6 Added nsAuthEngine.cpp for valeski 1999-11-20 22:09:56 +00:00
valeski%netscape.com 70b64aebbe not in build. updated auth engine 1999-11-20 21:46:23 +00:00
morse%netscape.com 13667e188c Partial fix for bug 18668, unable to login to aka, r=valeski 1999-11-20 04:13:21 +00:00
gagan%netscape.com cf4d5767a7 New files first checkin. 1999-11-20 01:34:19 +00:00
fur%netscape.com 9eb2b7d985 Change IDL to generate identical C++ headers, but with improved scriptability.
r: rpotts
1999-11-19 15:13:00 +00:00
dougt%netscape.com a14b905a11 Fixes: 19167,16801,17282,17682,17690,18616 Yes, this one line fix closes
all of these bugs and has taken 40 some hours to find.  Good night.
1999-11-19 04:11:16 +00:00
valeski%netscape.com 6077a89639 changed the on header notification to actually request the observers of the correct notification. OnHeaders indicates a response has come back, thus those registered for the RESPONSE should get notified, not those registered for the REQUEST 1999-11-19 00:15:42 +00:00
warren%netscape.com 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
jdunn%netscape.com e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
scc%netscape.com 5d8c1c00fe was using private |#defines| (in spite of the warning) from "nsCOMPtr.h" that happened to go away with this checkin. Should have been using |NS_STATIC_CAST| from "nscore.h". r={danm, hyatt} 1999-11-08 11:43:09 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
gagan%netscape.com ed922a4f57 Fixes 11708,15477 and partial 14610. r=warren. We now pass a print host for displaying in status messages that is different than the hostname connecting to. Also added Keep-Alive support (turned on by user_pref("network.http.keep-alive",1))We also honor the "network.proxy.type" preference to turn the proxy use on and off. 1999-11-03 08:17:59 +00:00
davidm%netscape.com 533c933f45 6552 Browser-generated forms not triggering single-signon switch to use nsINetPrompt so that single sign lives again r morse 1999-11-03 05:24:01 +00:00
warren%netscape.com d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
warren%netscape.com 9aeb8f663b Made nsHTTPEncodeStream seekable (for reposting form data). Bug #17685. r=waterson 1999-11-02 07:43:37 +00:00
rpotts%netscape.com 849b3d2a71 bug #16418 (r=warren,gagan). When redirecting a URL only copy the Ref to the new URL (not the Param and Query). 1999-11-01 06:00:55 +00:00
gagan%netscape.com a4cb24fb47 Fixed bug 17393. We were firing an OnStopRequest for redirect's response completion. That messes up imagelib which starts to reset/abort streams. r=waterson 1999-10-29 01:55:58 +00:00
rpotts%netscape.com f85134d446 cleanup - removed unnecessary code checking that mRequest != nsnull. Now the mRequest is allocated at channel construction and the channel is deleted if the request allocation fails... 1999-10-28 21:15:56 +00:00
valeski%netscape.com 4bd531e836 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. 1999-10-28 20:12:59 +00:00
rpotts%netscape.com cba431eac3 bug #16897. Consolidated the firing of OnStopRequest into the nsHTTPChannel. This is also called if a transport fails to be created... 1999-10-27 06:48:53 +00:00
rpotts%netscape.com 4ae67e1366 These are pollmanns changes for bug #8209 and other related POSTing bugs r=rpotts 1999-10-27 06:35:03 +00:00
warren%netscape.com f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
rpotts%netscape.com 559cc27b79 Cleanup - changed setter/getter methods to an attribute. 1999-10-26 04:49:56 +00:00
rpotts%netscape.com 573c915774 Added CancelPendingChannel(...) which allows a nsHTTPChannel to remove itself from the list of pending requests if it is cancelled... This was causing a leak :-( 1999-10-26 04:49:23 +00:00
rpotts%netscape.com 5a4bbbd3b8 Cleanup - Moved the PostData stream from the nsHTTPChannel to the nsHTTPRequest... The PostStream is now released once the request has been sent to the server since it is no longer useful. Fixed up Cancel to remove the channel from the list of pending requests if necessary. 1999-10-26 04:48:26 +00:00
rpotts%netscape.com 8603fffaf1 Cleanup - Removed NSPIPE2 ifdefs. Fixed up the nsHTTPResponse constructor which no longer takes a nsIInputStream. 1999-10-26 04:45:03 +00:00
rpotts%netscape.com d86d3a6c06 Cleanup - Removed unused methods and members. Changed char* member to nsCString 1999-10-26 04:43:19 +00:00
gagan%netscape.com 91fa3a6003 Fixed bug 15963. Host: headers were not including port numbers. r=mozbot,a=self. (/msg mozbot do these diffs look ok to you? Should I continue with my checkin? <CR> mozbot: That is interesting. Please continue. ) 1999-10-24 22:20:52 +00:00
rpotts%netscape.com ea0ac2fecc Fix build bustage on platforms that require full infor for nsCOMPtrs... 1999-10-22 05:56:19 +00:00
rpotts%netscape.com b4a25275f3 bug #13054 (r=warren,gagan). Reworked the way requests are sent to the server. Now requests can be of an arbitrary size... 1999-10-22 05:13:01 +00:00
dougt%netscape.com 34e52378d1 Fix for 16700. Isolating CreateTransport into new function.
r=gagan.
1999-10-18 19:43:34 +00:00
gagan%netscape.com f1203c259d Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
waterson%netscape.com 8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
dveditz%netscape.com ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
warren%netscape.com 8603974025 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
beard%netscape.com 9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
gagan%netscape.com caad83220b Fix for 14772. r-rjc/a-self. Removed the pragma no-cache header being sent to proxy requests. 1999-10-02 00:43:10 +00:00
pollmann%netscape.com e6dd7cba91 Bug 13997, Reviewed by Gagan. This change is to read the http post stream in 1Kb chunks rather than using the Available (unimplemented). 1999-10-01 02:39:05 +00:00
pollmann%netscape.com fe80026dca Bug 13997, Reviewed by Gagan. This changes are to correctly return the number of bytes read by nsHTTPEncodeStream. 1999-10-01 02:37:31 +00:00
kipp%netscape.com 8f9681c9f9 added files: mozilla/netwerk/protocol/http/src/nsHTTPHandlerModule.cpp 1999-09-30 21:31:38 +00:00
kipp%netscape.com a8d7d25d5d Converted from components to modules 1999-09-30 21:22:48 +00:00
kipp%netscape.com 8945b95dcc new 1999-09-30 01:53:31 +00:00
gagan%netscape.com 7d8cdd5eb5 Fix for 14536. r/a rjc the great since he surfs a lot... :) 1999-09-29 01:33:14 +00:00
valeski%netscape.com b736d59eec removing dead file: a=leaf 1999-09-27 17:10:37 +00:00
warren%netscape.com 4c7cb0ab7c Fixed bug#14863 Network buffer size too large 1999-09-25 08:54:45 +00:00
gagan%netscape.com 2a26ad2c70 Fixes the crash thats occuring on windows with no proxy setting. 1999-09-21 00:08:09 +00:00
gagan%netscape.com 57feefab37 Fix the bad prefs returning a value for non-existent proxy port. Fixes today morning horkage in service. 1999-09-20 18:56:44 +00:00
gagan%netscape.com 9207a13c6e Proxies work now. Place these two lines in your .mozilla/mozProfile/prefs.js and have fun-
user_pref("network.proxy.http", "w3proxy.netscape.com");
user_pref("network.proxy.http_port", 8080);
Some other micro fixes here and there.
1999-09-20 07:51:15 +00:00
rpotts%netscape.com e5409b13e3 bug #13477. nsHeaderEntry structs were leaking... 1999-09-17 09:21:50 +00:00
andreas.otte%primus-online.de fb0e5b529c fix for bug 9040 1999-09-16 21:51:54 +00:00
warren%netscape.com 7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
gagan%netscape.com bb3286dcc1 Now throwing a dialog box for basic auth username/password. This is a temporary checkin to allow basic auth work to progress. Eventually this will/must go away as the dialog box will come from the app triggered thru the HTTP event sink. But using this basic auth could be tested now. 1999-09-15 23:38:39 +00:00
valeski%netscape.com fea615e364 content types are now forced to lower case: 13609 1999-09-14 19:42:09 +00:00
jdunn%netscape.com c123f33f8a Fix MAC bustage... don't need the static declaration 1999-09-14 02:54:23 +00:00
jdunn%netscape.com d2a6677712 move GetInstance from the header to the CPP since HPUX was throwing an
unresolved symbol.
1999-09-14 02:05:47 +00:00
sfraser%netscape.com bdcf7c443e Fix the file type of the shared lib 1999-09-14 00:49:58 +00:00
valeski%netscape.com 5488cf13f2 optimized user-agent setting 1999-09-13 18:36:20 +00:00
rpotts%netscape.com 704d411d11 Fixed unix build bustage with forward declared nsCOMPtrs... 1999-09-13 07:40:10 +00:00
rpotts%netscape.com 111c42ebe0 Remove the socket transport from the list of active transports if an error occurs while writing the request out to the server... 1999-09-13 06:59:20 +00:00
cls%seawood.org f0889ec840 Reorderd member initializers to remove silly warnings. 1999-09-12 12:02:03 +00:00
warren%netscape.com 506438ded2 More fixes for nsCOMPtr inconsistencies. 1999-09-11 19:43:06 +00:00
warren%netscape.com d3eb73be23 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
valeski%netscape.com ecae4a681a added accept */* to the default http request 1999-09-10 18:32:02 +00:00
briano%netscape.com 32510b6ff3 General cleanup. 1999-09-10 01:57:11 +00:00
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
rpotts%netscape.com d78c217f46 bug #11376. I added GetContentLength to nsIChannel so the content length can be gotten from a channel... 1999-09-09 05:07:30 +00:00
briano%netscape.com 696e28cdec Removed the obsolete non-NECKO leftovers. 1999-09-09 00:59:41 +00:00
dougt%netscape.com f7d5f139ef bug fix for 13321. 1999-09-08 22:53:13 +00:00
valeski%netscape.com f7e8b6cd05 changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
dougt%netscape.com 028f11d2bf Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
dougt%netscape.com 4b6c318cdc Bug fix for 12702.
Adding notes to remove nsIAtom comparison by string.
1999-09-01 20:06:30 +00:00
jdunn%netscape.com de5a534c65 change static_cast to NSCAP_STATIC_CAST 1999-09-01 19:47:50 +00:00
valeski%netscape.com b314594876 warning fixes + removal of nsString constructor usage w/ internal string byte size specifier 1999-09-01 14:13:51 +00:00
gagan%netscape.com ec8d3b31ef Basic Auth stuff. very basic indeed. 1999-09-01 04:21:12 +00:00
gagan%netscape.com e3df677e44 added files: mozilla/netwerk/protocol/http/src/nsAuth.cpp, mozilla/netwerk/protocol/http/src/nsBasicAuth.cpp 1999-08-31 10:46:23 +00:00
gagan%netscape.com e611258377 added files: mozilla/netwerk/protocol/http/src/nsAuth.cpp, mozilla/netwerk/protocol/http/src/nsBasicAuth.cpp 1999-08-31 10:46:10 +00:00
gagan%netscape.com 4d9f337895 Basic Auth files. First checkin. 1999-08-31 10:40:12 +00:00
gagan%netscape.com 4aa3207b39 Added a struct to hold auth stuff. Not in the build (at least not for a couple of cycles anyway) 1999-08-31 10:39:38 +00:00
rpotts%netscape.com 89e414a3f4 ug #8443. Added GetCharset to nsIHTTPChannel 1999-08-31 04:46:05 +00:00
norris%netscape.com d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
rickg%netscape.com 4dea02ede3 replaced call to deprecated method in nsString 1999-08-29 17:44:48 +00:00
valeski%netscape.com 40b89c7eea nsSTring2 to nsCString changeover 1999-08-29 16:43:16 +00:00
bruce%cybersight.com ad7abbafe9 Fix build bustage. This has an nsCOMPtr<nsIEventSinkGetter> so it must include nsIEventSinkGetter.h to fully define the type. 1999-08-29 07:04:31 +00:00
rpotts%netscape.com dc14f6f1d9 Moved redirect logic out of the HTTPResponseListener and into the Channel... 1999-08-29 06:02:27 +00:00
dougt%netscape.com 02c9ac8e9a Fix for 12702. cookies work again. 1999-08-28 22:28:08 +00:00
gagan%netscape.com 58d5877fdf Fixed tabs to spaces and misc leaks... 1999-08-27 12:38:06 +00:00
warren%netscape.com b1c540e4a4 Ported to the new nsPipe2 implementation. 1999-08-27 10:33:37 +00:00
warren%netscape.com 2c5f004652 Fixed leak in NewURI. 1999-08-27 10:32:55 +00:00
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
dougt%netscape.com a7dd519e15 Making nsNetModuleMgr use proxy.
Clean up nsNetModuleMgr API.
Change http to use new API.
1999-08-24 00:34:51 +00:00
mscott%netscape.com cfa2aabcd3 Add a do_QueryInterface to a call in AsyncRead. This fixes an assertion I keep getting whenever I bring up the browser. 1999-08-24 00:29:24 +00:00
mccabe%netscape.com a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
hshaw%netscape.com 62064636df allow inheritance 1999-08-22 17:28:36 +00:00
mccabe%netscape.com 17cdc659d1 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
mccabe%netscape.com 381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
gagan%netscape.com 0c214adc91 Code style consistency cleanup. 1999-08-21 00:22:18 +00:00
leaf%mozilla.org 0dae772019 Finishing backout of dougt 1999-08-19 02:58:12 +00:00
dougt%netscape.com 0b7cc4c86e Updating to use new NetMod Notification. 1999-08-18 09:33:27 +00:00
warren%netscape.com d944d70a84 Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
rpotts%netscape.com a806fec196 Bug #11410. Changed NS_ASSERTION to checkc the *correct* variable. Someday I'll grow a brain and become really dangerous... 1999-08-11 21:15:49 +00:00
gagan%netscape.com 4207799f58 Temporarily fixing the assert which I think is ok, but would let rpotts confirm it. 1999-08-11 04:28:32 +00:00
rpotts%netscape.com f2ce78ae81 Release the pointers that were passed into AsyncRead(...) when the operation is compelete. This breaks some circular references that prevented WebShells from being deleted... 1999-08-10 04:02:10 +00:00
rpotts%netscape.com 04a3d364ce Implement the nsIRequest interface for nsHTTPChannel. This allows channels that are cancelled from a LoadGroup to *actually* get removed... 1999-08-09 07:07:08 +00:00
rpotts%netscape.com 449ba12da6 bug #10790. The HTTPChannel is now given to the HTTPResponseListener during construction. Before, it was getting it via a dirty cast in the OnStartRequest notification. Unfortunately, OnStartRequest is only called if the connection is successful. This caused a crash in OnStopRequest if the HTTPChannel was not available :-( 1999-08-06 07:57:44 +00:00
valeski%netscape.com 9ef221c292 fixing mac build bustage. brade verified the changes in her mac build. I switched from com ptrs to regular pointers as the com pointer abuse wasn't appreciated on the mac 1999-08-05 16:17:22 +00:00
rhp%netscape.com 98bb37cae0 added files: mozilla/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp, mozilla/netwerk/protocol/http/src/nsHTTPAtoms.cpp 1999-08-05 13:23:45 +00:00
rhp%netscape.com f02cb85a5f added files: mozilla/netwerk/protocol/http/public/nsIHTTPHeader.idl 1999-08-05 13:16:39 +00:00
rpotts%netscape.com fd0ec4db70 Fix for build bustage on Linux... 1999-08-05 09:07:29 +00:00
rpotts%netscape.com 0d546eaffa bug #10739. Reworking header APIs... I've added 2 new CPP files - nsHTTPAtoms.cpp and nsHTTPHeaderArray.cpp. 1999-08-05 08:27:49 +00:00
rpotts%netscape.com 6e6cdb32c5 bug #10739. Reworking header APIs... I've added a new IDL file - nsIHTTPHeader.idl and remove 3 obsolete header files... 1999-08-05 08:26:57 +00:00
gagan%netscape.com f182cc62db Added a new MANIFEST file for nsHTTP stuff. 1999-08-04 16:12:30 +00:00
gagan%netscape.com 46143f3127 POSTing works now. 1999-08-04 15:07:26 +00:00
dougt%netscape.com 3c1d894f1c removing hard coded "http" string and using GetScheme() instead.
cleaning up a memory leak
1999-08-03 02:15:30 +00:00
warren%netscape.com 529c0b2b71 Removed hack to export to netwerk/dist (used before landing necko). 1999-08-03 00:38:25 +00:00
valeski%netscape.com 1cdf612052 pulled file extension search code and started using new mime mapping method which does it for us 1999-08-01 16:44:29 +00:00
warren%netscape.com 7451a9a44d Took out more f*** nsCOMPtrs 1999-07-31 07:51:35 +00:00
warren%netscape.com 07b963204e Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group. 1999-07-31 06:53:12 +00:00
rpotts%netscape.com 558cdd62be bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect. 1999-07-30 07:13:05 +00:00
rpotts%netscape.com 21e7d3da37 bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect. 1999-07-30 06:39:24 +00:00
mscott%netscape.com d563520210 fix build by including config.mak 1999-07-29 03:10:23 +00:00
rpotts%netscape.com 8c60c16be7 Set the max number of open transports to 8. 1999-07-28 09:26:55 +00:00
rpotts%netscape.com 315de829f9 Obsolete file... 1999-07-28 09:25:51 +00:00
rpotts%netscape.com bf7d1235bc Support for a Max number of open transports. 1999-07-28 09:25:31 +00:00
warren%netscape.com c7b57f1e08 Fixed mismatched delete problem (purify). 1999-07-28 04:05:10 +00:00
warren%netscape.com cfc523f742 Added assertion for bug I was hitting (spinning). 1999-07-27 08:47:43 +00:00
warren%netscape.com 17c0cb8533 Added missing error check. 1999-07-27 08:47:13 +00:00
valeski%netscape.com 748a1853fe necko - we now set the user agent by default 1999-07-25 13:54:47 +00:00