Commit Graph

529 Commits

Author SHA1 Message Date
rpotts%netscape.com
e54a3271ae bug #18267. Changed the marshalled OnDataAvailable event to cancel the transport if the consumer returns a failure. THis ensures that the transport is notified of the error...
git-svn-id: svn://10.0.0.236/trunk@62031 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 05:49:09 +00:00
davidm%netscape.com
aa23c62ad6 11701 Product does not run if slash in folder path
a = jar r = warren


git-svn-id: svn://10.0.0.236/trunk@62011 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 01:05:54 +00:00
rpotts%netscape.com
bd06a87d5e bug #29044. Made EOF on sockets detected as soon as possible...
git-svn-id: svn://10.0.0.236/trunk@61839 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 04:44:51 +00:00
warren%netscape.com
b6e9fcd727 Bug 29387. Fix ABR problem resulting from recent PDT+ change. code=andreas,r=warren,a=jevering
git-svn-id: svn://10.0.0.236/trunk@61822 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 01:26:34 +00:00
davidm%netscape.com
f6f8de1983 22244 Can not load local file on the mac
r warren/sfraser a - jar


git-svn-id: svn://10.0.0.236/trunk@61768 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 16:19:59 +00:00
mscott%netscape.com
3a3d4914dc Bug #29279 --> fix crash when loading really large urls by protecting against a buffer over-run.
r=scottip
a=jar


git-svn-id: svn://10.0.0.236/trunk@61737 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 04:38:07 +00:00
sspitzer%netscape.com
3ee3d2a564 fix for #26773, alert when there is a network error in mailnews. r=mscott, a=phil
git-svn-id: svn://10.0.0.236/trunk@61714 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 01:04:50 +00:00
scc%netscape.com
18f085ee06 On platforms without pollable events, i.e., (only) the Mac, changed poll timeout from 250msec to 5msec, as a preliminary fix for bug #25108. The real solution is pollable events on the Mac. r={pinkerton, rjc, et al} a=jar (yes, jar, I ran it on multiple Macs of as many different speeds as we could find, and tried different values)
git-svn-id: svn://10.0.0.236/trunk@61657 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 07:40:11 +00:00
warren%netscape.com
8bc18ddbde Fixed mac and solaris build bustage. r=waterson
git-svn-id: svn://10.0.0.236/trunk@61656 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 07:14:28 +00:00
warren%netscape.com
fb735cb6f6 Bug 10736 - URL parsing / MakeAbsolute performance. code=putterman,r=warren,andreas,a=jar
git-svn-id: svn://10.0.0.236/trunk@61655 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 06:17:57 +00:00
gagan%netscape.com
e61e81e125 Completing the last change. r=valeski.
git-svn-id: svn://10.0.0.236/trunk@61559 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 02:08:01 +00:00
gagan%netscape.com
422326b7f8 Removing the linux orange... and possibly windows assertions.
git-svn-id: svn://10.0.0.236/trunk@61556 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 01:56:12 +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
119799c188 Added nsStreamListenerEvent to the leak/bloat logging...
git-svn-id: svn://10.0.0.236/trunk@61479 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 05:22:14 +00:00
valeski%netscape.com
de19ead62a r=rhp, a-leaf. Fixing a crasher before it hits us
git-svn-id: svn://10.0.0.236/trunk@61449 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 22:44:38 +00:00
rpotts%netscape.com
300c8c8ec7 bug #22428. Added a per-instance intermediate buffer in the SocketTransport to accomadate calling AsyncWrite(...) with an nsIInputStream that does not support nsIBufferedInputStream.
git-svn-id: svn://10.0.0.236/trunk@61379 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 06:51:36 +00:00
bruce%cybersight.com
b39123b16a Fix a FMM error. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@61375 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 05:22:43 +00:00
valeski%netscape.com
412d8083ea removing an un-necessary comment
git-svn-id: svn://10.0.0.236/trunk@61327 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 23:38:13 +00:00
ftang%netscape.com
9438300642 fix bug 28197 (firt part of 14155). Change the damage data ToNewCString to ToNewUTF8String. r=warren, a=bobj
git-svn-id: svn://10.0.0.236/trunk@61324 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 23:15:46 +00:00
rpotts%netscape.com
b9bfd5d8de Fixed Mac warning which was masking a potential Mac-only bug...
git-svn-id: svn://10.0.0.236/trunk@61318 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 21:39:26 +00:00
gordon%netscape.com
9485464ae9 Also partial fix for #25321 "crash on start w/o internet connection". Check for nil member fields before using them in shutdown code.
r=warren, a=jar.


git-svn-id: svn://10.0.0.236/trunk@61178 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 03:34:16 +00:00
andreas.otte%primus-online.de
07ae8ac473 fix for bug 27683: nsStdURL::SetSpec shouldn't modify in parameter r=putterman@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60973 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 00:28:35 +00:00
valeski%netscape.com
830c2c4f22 r=rhp. we want to reset any previously set proxy info if we're not supposed to be using proxies.
git-svn-id: svn://10.0.0.236/trunk@60970 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 00:07:55 +00:00
andreas.otte%primus-online.de
99e8aa4ef6 fix for bug 27519, URL parser mangles parameters delimited by semicolons, adds them to requested filename, r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60962 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 23:32:04 +00:00
warren%netscape.com
3595344969 Bug 27576 - fixed warnings. r=gordon
git-svn-id: svn://10.0.0.236/trunk@60841 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 07:53:08 +00:00
pepper%netscape.com
5a69d422e5 dding newline at end so that lesser unixes compile.
git-svn-id: svn://10.0.0.236/trunk@60754 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 00:52:56 +00:00
brade%netscape.com
d1b6d5d4b4 checkin change for valeski
git-svn-id: svn://10.0.0.236/trunk@60733 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 14:40:12 +00:00
valeski%netscape.com
51bb2e0a9a building the proto proxy service on linux and win
git-svn-id: svn://10.0.0.236/trunk@60726 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 10:07:47 +00:00
valeski%netscape.com
0f30a9a32d 15594. r=gagan. adding protocol service to the linux and windows builds
git-svn-id: svn://10.0.0.236/trunk@60725 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 10:06:34 +00:00
valeski%netscape.com
940a145b1e 15594. r=gagan. The protocol proxy service. I'm just dropping this in for now. It won't be used until FTP changes are in
git-svn-id: svn://10.0.0.236/trunk@60724 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 10:04:56 +00:00
valeski%netscape.com
d22fdda706 r=andreas. 27142. we no longer escape the ':' char in the directory portion of a URL
git-svn-id: svn://10.0.0.236/trunk@60713 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 07:41:29 +00:00
mccabe%netscape.com
484ef131f2 Remove trailing \ in NS_LOADGROUP_CID define, as it can unintentionally pick up subsequent text in generated .h file.
r=mozbot


git-svn-id: svn://10.0.0.236/trunk@60583 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 04:22:31 +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
warren%netscape.com
4189d3799d Fix for bug 27022, input buffers get truncated. r=mbp@worldonline.dk,dougt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60309 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 08:27:01 +00:00
valeski%netscape.com
4a69bc3193 removing our internal #defines, nsMimeTypes.h is the way to go now
git-svn-id: svn://10.0.0.236/trunk@60202 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 05:06:01 +00:00
valeski%netscape.com
04a89fe0fc removing UA component methods from ioservice
git-svn-id: svn://10.0.0.236/trunk@60102 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:45:18 +00:00
valeski%netscape.com
ad39f33f4f fixing unix bustage
git-svn-id: svn://10.0.0.236/trunk@60101 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:43:01 +00:00
valeski%netscape.com
193b611efb r-dougt, 10465. the IOService no longer handles the User AGent components. the http handler does
git-svn-id: svn://10.0.0.236/trunk@60096 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:27:34 +00:00
valeski%netscape.com
7452040e8c adding nsIProxy to the unix and win makefiles
git-svn-id: svn://10.0.0.236/trunk@60087 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:09:12 +00:00
valeski%netscape.com
2940d89f94 no longer exporting nsIProxy.h
git-svn-id: svn://10.0.0.236/trunk@60085 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:07:59 +00:00
valeski%netscape.com
bf65116f0a .h is now gone
git-svn-id: svn://10.0.0.236/trunk@60084 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:07:11 +00:00
valeski%netscape.com
178f8d01b3 r=dougt. 10465. upgrading nsIProxy to a full blown idl
git-svn-id: svn://10.0.0.236/trunk@60082 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:05:29 +00:00
valeski%netscape.com
bae0d56a01 nsCOMPtr'izing the parser
git-svn-id: svn://10.0.0.236/trunk@60075 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 05:55:08 +00:00
dougt%netscape.com
1747e7a38a Fix for 26850 by Andreas Otte. This fixes complex uri parsing, specifically
defined in the mentioned bug.


git-svn-id: svn://10.0.0.236/trunk@60022 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:20:33 +00:00
waterson%netscape.com
0d50d8dcc0 Bug 17586. Use more robust condition to determine stream length ('-1') for HTTP-index streams on directories. Add lots of logging along the way. r=syd,valeski.
git-svn-id: svn://10.0.0.236/trunk@60018 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:16:09 +00:00
warren%netscape.com
5ef1799207 Fix for bug 24996 - moving file creation from nsStreamXferOp into nsFileTransport where it belongs. r=mscott
git-svn-id: svn://10.0.0.236/trunk@59764 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 09:29:55 +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
valeski%netscape.com
10c28e2ecb fixing bustage
git-svn-id: svn://10.0.0.236/trunk@59567 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:47:43 +00:00