gagan%netscape.com
8bed9e2e2a
First checkin. Not in the build yet. Moving the HTTP event sink from .h to .idl.
...
git-svn-id: svn://10.0.0.236/trunk@62188 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:40:35 +00:00
gagan%netscape.com
29705b3412
Fix for bug 29477 on behalf of norris. r=gagan.
...
git-svn-id: svn://10.0.0.236/trunk@62078 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 21:45:51 +00:00
bruce%cybersight.com
28c2c1e7e3
Fix small, localized leak of HTTP atoms. Well tested on MacOS and under Purify with no ill effects. r=gagan
...
git-svn-id: svn://10.0.0.236/trunk@62057 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 13:45:28 +00:00
valeski%netscape.com
31d191de79
29164. r=shaver. The user agent setup no longer uses a string bundle. UA string formatting changes that use prefs for values.
...
git-svn-id: svn://10.0.0.236/trunk@61887 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 20:39:18 +00:00
rpotts%netscape.com
2bc8ade797
Fix unix build bustage...
...
git-svn-id: svn://10.0.0.236/trunk@61841 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 05:05:08 +00:00
rpotts%netscape.com
67c7a2fd94
bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels...
...
git-svn-id: svn://10.0.0.236/trunk@61838 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 04:44:37 +00:00
tbogard%aol.net
13b61ed851
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
...
git-svn-id: svn://10.0.0.236/trunk@61816 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 00:20:55 +00:00
gagan%netscape.com
0633641153
Made the crash go away only in release builds... hopefully this will help us track the real problem. a=jevering.
...
git-svn-id: svn://10.0.0.236/trunk@61591 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 05:36:52 +00:00
bienvenu%netscape.com
013bb0305a
fix build bustage for gagan
...
git-svn-id: svn://10.0.0.236/trunk@61562 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 02:44:44 +00:00
gagan%netscape.com
4426486abd
Removed the check for proxy types here with the latest change in protocolproxyservice. r-valeski
...
git-svn-id: svn://10.0.0.236/trunk@61560 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 02:09:46 +00:00
rpotts%netscape.com
f69e4b3fee
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...
...
git-svn-id: svn://10.0.0.236/trunk@61540 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:57:20 +00:00
valeski%netscape.com
f79435262e
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.
...
git-svn-id: svn://10.0.0.236/trunk@61530 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:50:45 +00:00
norris%netscape.com
bf96355ad4
Fix 28612 META Refresh allowed in Mail/News
...
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
git-svn-id: svn://10.0.0.236/trunk@61523 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:34:40 +00:00
gagan%netscape.com
570f14d71b
r=valeski,rjc a=jar. Fixes for the following bugs-
...
bug 1582 - HTTP Referer header problem.
This is now resolved with a preference (network.sendRefererHeader)
If set to 0 no referrer header is sent (ever) If set to 1 the
referrer header is sent only in cases of user link-clicks and if
set to 2 is sent from image requests as well.
bug 17158 - No Proxies For wasn't implemented.
This was not being read correctly and I also moved and cleaned up
the parsing function to nsProtocolProxyService (thereby also
killing bug 27728)
bug 24642 - http://www.win98central.com/#437 was crashing.
bug 26686 - crash in nsHTTPRequest destructor.
Both of these crashes were because of the nsHTTPRequest being
unconditionally released in the destructor of nsHTTPChannel. Although the main problem remains, I have made it a non-crasher now.
bug 27844 - HTTP breaks when only using FTP proxy.
This was happening because we were not resetting values of the
proxy when they are removed from the preference pane.
git-svn-id: svn://10.0.0.236/trunk@61512 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 21:17:17 +00:00
rpotts%netscape.com
6d00563bd8
bug #21556 . Gave nsHTTPChannel, nsHTTPResponseListener, nsHTTPRequest and nsHTTPEncodeStream thread-safe implementations of AddRef() and Release() since those methods are called on multiple threads...
...
git-svn-id: svn://10.0.0.236/trunk@61475 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 04:38:42 +00:00
rpotts%netscape.com
b6c08cd3ef
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
...
git-svn-id: svn://10.0.0.236/trunk@61334 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 00:58:22 +00:00
cls%seawood.org
8260bc5e34
More tweaks needed to get BeOS to compile for M14. For now, we use the Unix local file implementation. a,r=leaf
...
git-svn-id: svn://10.0.0.236/trunk@61216 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 20:24:24 +00:00
valeski%netscape.com
81bf4379e8
r=gramps (yea, that's right), 15594 (partial). In order for FTP proxies to work, HTTP needs to implement nsIProxy. FTP uses the HTTP protocol to piggy back as a real proxy handler.
...
git-svn-id: svn://10.0.0.236/trunk@60715 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 08:40:05 +00:00
gagan%netscape.com
e997a4893d
Now allowing FTP to specify an ftp URL-- bug 15594 (and in general allow any non-HTTP handler to use HTTP as a proxy) r=valeski
...
git-svn-id: svn://10.0.0.236/trunk@60711 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 07:06:32 +00:00
rpotts%netscape.com
b3bc7d662e
Fixed purify [UMR] by initializing mProxyPort
...
git-svn-id: svn://10.0.0.236/trunk@60589 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 06:15:19 +00:00
gagan%netscape.com
0a8cc2cacb
I am an idiot...
...
git-svn-id: svn://10.0.0.236/trunk@60472 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 11:42:38 +00:00
gagan%netscape.com
bc8ff516cd
removed an unnecessary include.
...
git-svn-id: svn://10.0.0.236/trunk@60404 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:34:07 +00:00
gagan%netscape.com
2ce835680d
Fixing horkage... God please stop allowing people to use gotos in C++...
...
git-svn-id: svn://10.0.0.236/trunk@60401 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:26:23 +00:00
valeski%netscape.com
6c6a66b718
removing extraneous export on a file that DNE anymore
...
git-svn-id: svn://10.0.0.236/trunk@60351 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:55:01 +00:00
gagan%netscape.com
660a5e7f37
Fixed bug 27024. Changed nsIHTTPChannel.idl to have proxy host/port
...
accessors and modifiers. Channels may now override the proxy setting
from the HTTP handler. r=valeski
Fixed bug 24329. Made mProxyAuthList in nsAuthEngine to keep the list of proxy authentications. Logout now clears both proxy and basic auths. r=rjc
Fixed bug 26149. Authenticate now aborts only if the user doesn't click cancel on the PromptUserPass dialog. Removed the unnecessary nsIChannel* parameter on Authenticate. r=rjc
Fixed bug 24304. We now register a callback for proxy preferences. r=rjc
Fixed bug 17158. We now honor "network.proxy.no_proxies_on" preference to diable proxy activity on specified host or domain. We still need a fix for 27141 to read and write this pref correctly. r=rjc
Fixed bug 16442. Referer is only added if its an http URI. r=rjc
git-svn-id: svn://10.0.0.236/trunk@60340 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:47:50 +00:00
mscott%netscape.com
8c683aeba6
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.
git-svn-id: svn://10.0.0.236/trunk@60216 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 08:25:11 +00:00
valeski%netscape.com
8e0a440cc5
getting the rest of necko to use the mimetypes file. also added protection for UA string setup
...
git-svn-id: svn://10.0.0.236/trunk@60201 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 05:04:52 +00:00
dp%netscape.com
7a38f72e34
Fixing build.
...
<valeskiAIM> dp: go baby go
git-svn-id: svn://10.0.0.236/trunk@60103 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 07:29:47 +00:00
sfraser%netscape.com
5aee3cc188
Removed nsHTTPHandlerFactory.cpp for valeski.
...
git-svn-id: svn://10.0.0.236/trunk@60095 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:25:58 +00:00
valeski%netscape.com
4fdf04bef6
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.
...
git-svn-id: svn://10.0.0.236/trunk@60090 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:20:54 +00:00
dp%netscape.com
82c758fc55
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
git-svn-id: svn://10.0.0.236/trunk@60086 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:08:27 +00:00
dp%netscape.com
1a3daa98f1
Adding NS_HTTP_STARTUP_CATEGORY r=gagan
...
git-svn-id: svn://10.0.0.236/trunk@60083 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:05:36 +00:00
scc%netscape.com
dcee2e659d
Pro5 update
...
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
warren%netscape.com
b07abd219e
Added stream buffering. Made file transport use it. Bug #19233 r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@59751 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 07:31:43 +00:00
sspitzer%netscape.com
0895955f9b
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
git-svn-id: svn://10.0.0.236/trunk@59623 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 05:01:42 +00:00
valeski%netscape.com
867f16ef2b
URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes
...
git-svn-id: svn://10.0.0.236/trunk@59615 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 03:44:22 +00:00
pp%ludusdesign.com
fdfd888608
Conversion to NS_GET_IID(). Bug #20232 , r=scc@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@59394 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 14:26:27 +00:00
sdagley%netscape.com
bcdcf3c3c3
Access path updates in anticipation of update to CW Pro5 ( #25949 ). r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@59359 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 04:27:22 +00:00
norris%netscape.com
153ee04b50
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
git-svn-id: svn://10.0.0.236/trunk@58561 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 04:42:01 +00:00
gagan%netscape.com
4f4e669165
Fix a mem leak (spotted by Pav) r=me
...
git-svn-id: svn://10.0.0.236/trunk@58506 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 02:29:33 +00:00
dougt%netscape.com
714da09a59
Landing nsIFile.
...
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
gagan%netscape.com
642cc21d21
Fixing build breakage... reordered the #includes.
...
git-svn-id: svn://10.0.0.236/trunk@58229 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 06:34:25 +00:00
gagan%netscape.com
73e26a0430
Fix for 22405. Proxy auth is in. I have also created a separate bug for making this persistent 24329.
...
git-svn-id: svn://10.0.0.236/trunk@58225 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 05:09:07 +00:00
gordon%netscape.com
a49c0bfe0c
Fix for bug #20177 . Make sure string is set if GetSpec() fails inside http logging code.
...
git-svn-id: svn://10.0.0.236/trunk@58206 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 02:27:00 +00:00
gagan%netscape.com
e84399526d
Fix for 13380. We now send Accept-Language: header.
...
git-svn-id: svn://10.0.0.236/trunk@58182 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:38:51 +00:00
bruce%cybersight.com
e2817a28ab
Speeling cownts. r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@58029 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 21:28:22 +00:00
mscott%netscape.com
1becb2c801
set the referring url on the http channel so callers don't have to do it explicitly every time.
...
r=warren
git-svn-id: svn://10.0.0.236/trunk@58020 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 19:48:16 +00:00
gagan%netscape.com
7a231f0d05
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
...
git-svn-id: svn://10.0.0.236/trunk@57967 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 06:59:43 +00:00
rpotts%netscape.com
8457af366d
bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs
...
git-svn-id: svn://10.0.0.236/trunk@57915 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 06:12:54 +00:00
sspitzer%netscape.com
24fd826e2a
backing out andreas and warren
...
git-svn-id: svn://10.0.0.236/trunk@57840 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 22:01:56 +00:00