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

652 Коммитов

Автор SHA1 Сообщение Дата
ruslan%netscape.com cdc1205334 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 4965f4905d Fix 35508, 33762, 35024. 2000-04-14 21:10:27 +00:00
warren%netscape.com 0a1242730e Fixed to truncate by default. Fixed permissions to default to 664. 2000-04-14 09:32:24 +00:00
warren%netscape.com 6923e40b28 Fixed leak in AsyncRead/AsyncWrite. r=danm 2000-04-14 05:29:21 +00:00
ftang%netscape.com ee10bf09a6 check in fix of 29341 . patched submitted by m_kato@ga2.so-net.ne.jp
Make sure the \ to / conversion respect double byte system on window.
2000-04-14 04:43:02 +00:00
jbetak%netscape.com 19217b46c9 r=valeski, exposing channel for 32604 Trunk fix for illegal use of nsString-external JavaScript 2000-04-14 02:46:28 +00:00
ruslan%netscape.com 8994f0e64c Fix 35024 - add new API to the socketTransportService to see how many
connections are alive/in-progress/etc.
2000-04-13 22:30:21 +00:00
gagan%netscape.com 7141d6ce45 Backing out last changes since warren has the new ones. 2000-04-13 19:50:43 +00:00
gagan%netscape.com 3907bf9cb4 35564 MLK fixes and IOService optimization from beard. 2000-04-13 19:44:15 +00:00
warren%netscape.com 32ced272ad Fixed assertion problem with rv/rv2. 2000-04-13 10:07:13 +00:00
warren%netscape.com e0be02e5b0 Removed 2000-04-13 09:22:09 +00:00
warren%netscape.com 1832d7f664 Factoring stream i/o operations into nsIStreamIO interface. 2000-04-13 09:20:50 +00:00
warren%netscape.com 0a425b27ff Added nsIStreamIO.idl 2000-04-12 21:32:15 +00:00
warren%netscape.com 942ccefd74 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code. 2000-04-12 07:58:24 +00:00
ruslan%netscape.com 058a3cfa88 Landing link-click problem fix. Also fix DNS lockup (gordon) on Windows,
memory leak of socket transports during pipelined request, add timeout
setters on socket transport, add a restriction on the number of keep-alive
connections.
2000-04-12 01:47:22 +00:00
mscott%netscape.com 42a52d6dbd Bug #34561 --> we were reporting false timeouts with connection based protocols
r=ruslan,warren
a=granrose
2000-04-05 21:15:44 +00:00
warren%netscape.com 0bbf396dfc Fix to not call OnStartRequest if channel has been canceled. Bug #31957 2000-04-05 06:46:00 +00:00
ruslan%netscape.com 6baa185817 Fix 34359 - nsSocketTransport timeout should also work while waiting on
actual data, not only while connecting.
2000-04-05 04:49:35 +00:00
davidm%netscape.com 8b9369403e 31054 'TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:03:50 +00:00
mkaply%us.ibm.com 08a01ecdfd # 33859
r= warren@netscape.com
OS/2build - add or change #ifdefs
2000-04-05 02:14:34 +00:00
ruslan%netscape.com 971ef623ef 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
sspitzer%netscape.com ae9ea65eb3 remove my debugging printf. 2000-04-05 00:53:44 +00:00
pavlov%netscape.com ad8f59cb37 Make nsIFileURL scriptable and QueryInterfaceable. fix bug #34335 and 34328 and 34470. Minor cleanups on unix file picker dialog 2000-04-04 23:50:41 +00:00
warren%netscape.com b5fe97ca18 Changed 'default' content type to application/x-unknown-content-type (was text/html!). 2000-04-04 07:13:22 +00:00
gordon%netscape.com 3dfe9a4b8f Fix for bug 23811 "Support IPv6". Integrating diffs by jgmeyers, r= wtc. 2000-04-03 23:41:53 +00:00
scc%netscape.com a99318a97e making string conversions explicit 2000-04-01 22:31:00 +00:00
valeski%netscape.com 13f2f1d073 ensuring that we're always firing this callback to an event queue. we don't want to directly callback the caller recurively this is an async call 2000-04-01 14:57:47 +00:00
andreas.otte%primus-online.de 97b6742845 This time for real: fix part of bug 32997, file URLs that include a hostname don't work, r=valeski@netscape.com
Previous checkin was a fix for bug 31854, [4.xP] Unable to open www.foo.com:/some/dir (note colon), r=valeski@netscape.com, sorry for the mixup.
2000-04-01 09:03:21 +00:00
andreas.otte%primus-online.de ab43c44779 fix part of bug 32997, file URLs that include a hostname don't work, r=valeski@netscape.com 2000-04-01 08:51:17 +00:00
scc%netscape.com 080a801eb7 making string conversions explicit 2000-04-01 00:39:02 +00:00
valeski%netscape.com 465309a241 33935. r=dougt. I built on all three platforms. I smoketested win and linux, but mac is hanging after profile mgr so I can't verify it. When the CSS loader would try and load a non-existant local css file, we would crash. Now we post the OnComplete() callback asynchronously to the event queue so the CSS loader isn't entered recursively, and life is good again 2000-03-31 20:39:16 +00:00
rickg%netscape.com 105464e2c2 removed references to nsString2 2000-03-31 09:34:43 +00:00
jim_nance%yahoo.com 005e33f06e 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
warren%netscape.com d60b12b153 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
gordon%netscape.com 0df016b3a3 Landing DNS_CANCEL_BRANCH. Added code to make Offline(PR_FALSE) initialize nsSocketTransportService and nsDNSService. Original changes by warren, r=gagan. 2000-03-27 22:17:48 +00:00
gordon%netscape.com e165ac4548 Landing DNS_CANCEL_BRANCH. Moving Init() method to interface. 2000-03-27 22:16:20 +00:00
gordon%netscape.com 6dee439e4e Landing DNS_CANCEL_BRANCH. Changing locks to monitors in nsSocketTransport. Original changes by warren, r=gagan. 2000-03-27 22:15:38 +00:00
rickg%netscape.com 4fa6b38b7d removing references to nsString internals 2000-03-26 07:55:46 +00:00
andreas.otte%primus-online.de 370e1b5ab6 fix first part of bug 29341, fix nsStdURL GetFile/SetFile, r=warren@netscape.com 2000-03-25 10:26:10 +00:00
andreas.otte%primus-online.de a985e7d577 fix bug 31089, Oakland Tribute crashes in HTMLContentSink::AddLeaf, r=gagan@netscape.com 2000-03-25 10:23:20 +00:00
ruslan%netscape.com 20b914620d Remove misleading comment; nsSocketTransport never attempts to reconnect
by iself anymore.
2000-03-25 00:50:50 +00:00
ruslan%netscape.com e3ad4e0a43 Http handler reorg to fix keep-alive raise condition and prepare for
pipeling changes. Also fix 32505, 31979. In case of a major bustage -
http11_reorg_point is the tag before the checkin; r=gagan, a=warren
2000-03-24 21:38:04 +00:00
mscott%netscape.com 23ccd10b25 Bug #28776, 28569 --> make the load group keep a weak ref on the observer
r=sspitzer
2000-03-24 05:42:10 +00:00
law%netscape.com 5c627f4422 Fix for bug 32407; transfer data from proper spot in input buffer when a portion is used to fill prior file buffer. r=dougt@netscape.com 2000-03-21 08:47:43 +00:00
norris%netscape.com 6756e81012 Stream loader now saves principals from channel; needed for signed scripts. r=norris
(this is mstoltz's checkin)
2000-03-21 04:16:03 +00:00
ruslan%netscape.com fdabfad37a Make reuseCount to be PRUint32 2000-03-21 01:43:41 +00:00
ruslan%netscape.com 5d36675eca Add reuseCount attribute on nsSocketTransport. Misc code cleanup. 2000-03-21 01:29:49 +00:00
ruslan%netscape.com bd04a49ecd Only attempt to reconnect when socket is being reused and no longer
connected when the first write operation is requested. This finally
takes care of last (for now :-) keep-alive problem with sites who will
close connections at a very fast rate.
2000-03-19 03:32:32 +00:00
ruslan%netscape.com ef67fa9d61 Fix incorrect check in isAlive 2000-03-19 03:17:58 +00:00
ruslan%netscape.com c9de8cce36 Fix 32395. The change in behavior of SetReuseConnection had cause ftp
handler to leak.
2000-03-19 00:07:17 +00:00
ruslan%netscape.com 8f20bbe175 Fix 31882, 31884, 31979 (all keep-alive fixes + patch from Tomi.Leppikangas@oulu.fi) 2000-03-18 18:39:41 +00:00
andreas.otte%primus-online.de 3cda654338 fix bug 26003, Files with the percentage (%) sign cannot be viewed via mouse, r=valeski@netscape.com 2000-03-18 11:07:04 +00:00
dougt%netscape.com 612badb3a9 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
ruslan%netscape.com afc0ebdea9 Rollback some of keep-alive code while investigating 32002 since only
people off-site could reproduce it.
2000-03-17 03:28:06 +00:00
ruslan%netscape.com ece7d499c3 Keep-alive fixes: cancel outstanding i/o on windows, take care of the case
when the connection gets closed by the server because of the timeout.
2000-03-15 01:19:42 +00:00
ruslan%netscape.com a8b4b88617 Mark EOF when connection gets closed as well. Fixes www.microsoft.com with
keepalive on.
2000-03-14 05:02:16 +00:00
ruslan%netscape.com 74764af9f2 Fix 10738, partial fix for 21020. Keep-alive, http/1.1, transfer-encoding: chunked
can now be turned on (network.http.version=1.1); network.http.keep-alive can also
be used, however not recommended (1.1 pref will automatically enable keepa-alive).
r=warren,gagan
2000-03-14 03:41:46 +00:00
sfraser%netscape.com fb4bf3c5f0 Fix so that bugs like 31710 are easier to find in future -- printf when opening a file fails. r=pavlov 2000-03-14 02:10:20 +00:00
warren%netscape.com 85c43e25e2 Checking result of Available. 2000-03-12 22:38:41 +00:00
rickg%netscape.com efeff569f4 removed calls to deprecated string methods 2000-03-12 11:18:18 +00:00
rickg%netscape.com c617e3f2e9 removed calls to deprecated nsString methods 2000-03-12 11:06:57 +00:00
rickg%netscape.com 4791ab3e8f removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
sspitzer%netscape.com 06d3724e20 add nsAsyncStreamListener to the bloaty logs. 2000-03-12 08:06:14 +00:00
sspitzer%netscape.com f195d6e51c fix for #30775 and #30648. r=mscott,warren. a=phil
we need to call Cancel() to remove the closed nsSocketTransport from the
list of active transports.  if we don't, we quickly reach the max (50)
and pop, smtp, and nntp operation start failing.

also, upon NS_BINDING_ABORTED, do not pop up an alert.  we get
this when we call Cancel() or if the user hits the stop button.
2000-03-12 06:40:25 +00:00
waterson%netscape.com 171aa51206 Bug 30477. Deal with the fact that somehow mSource is getting set to null. Bogo-defensive programming. Yay! r=warren, a=gramps, leaf. 2000-03-08 21:17:41 +00:00
valeski%netscape.com 790d095d33 r=warren. a=jar. we're now using the threadsafe macros for sync stream listeners 2000-03-07 00:37:36 +00:00
warren%netscape.com 73e9590553 Making nsFileStream and nsBufferedStream be threadsafe. 2000-03-06 00:51:44 +00:00
warren%netscape.com a65a0febad Bug 21556: Making linux be thread-safe. Additional diffs from Andreas. r=warren,a=jar 2000-03-05 21:36:54 +00:00
warren%netscape.com 7e37f4f478 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
dougt%netscape.com 3eab6cb30b Changing file worker thread count to have a minimum and maximum. Bug fix 27336.
r=warren,danm a=chofmann.
2000-03-05 20:57:51 +00:00
warren%netscape.com e4c5bd9881 Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. Minor tweak. a=jar 2000-03-05 10:29:05 +00:00
warren%netscape.com 23196adb8a Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. a=jar 2000-03-05 10:20:48 +00:00
rpotts%netscape.com 57b889fd14 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... 2000-03-02 05:49:09 +00:00
davidm%netscape.com 640ccf6fa3 11701 Product does not run if slash in folder path a = jar r = warren 2000-03-02 01:05:54 +00:00
rpotts%netscape.com 7d517154cb bug #29044. Made EOF on sockets detected as soon as possible... 2000-02-29 04:44:51 +00:00
warren%netscape.com de388c813f Bug 29387. Fix ABR problem resulting from recent PDT+ change. code=andreas,r=warren,a=jevering 2000-02-29 01:26:34 +00:00
davidm%netscape.com 8fcd2d03da 22244 Can not load local file on the mac r warren/sfraser a - jar 2000-02-27 16:19:59 +00:00
mscott%netscape.com b9474fea69 Bug #29279 --> fix crash when loading really large urls by protecting against a buffer over-run.
r=scottip
a=jar
2000-02-26 04:38:07 +00:00
sspitzer%netscape.com f29abcb66f fix for #26773, alert when there is a network error in mailnews. r=mscott, a=phil 2000-02-26 01:04:50 +00:00
scc%netscape.com 438737d4ab 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) 2000-02-25 07:40:11 +00:00
warren%netscape.com 18dbca24fd Fixed mac and solaris build bustage. r=waterson 2000-02-25 07:14:28 +00:00
warren%netscape.com 9f40298fee Bug 10736 - URL parsing / MakeAbsolute performance. code=putterman,r=warren,andreas,a=jar 2000-02-25 06:17:57 +00:00
gagan%netscape.com 253f4fed8a Completing the last change. r=valeski. 2000-02-24 02:08:01 +00:00
gagan%netscape.com 8ac00f0a27 Removing the linux orange... and possibly windows assertions. 2000-02-24 01:56:12 +00:00
gagan%netscape.com d605467cb7 r=valeski,rjc a=jar. Fixes for the following bugs-
bug 1582 - HTTP Referer header problem.
This is now resolved with a preference (network.sendRefererHeader)
If set to 0 no referrer header is sent (ever) If set to 1 the
referrer header is sent only in cases of user link-clicks and if
set to 2 is sent from image requests as well.

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

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

bug 27844 - HTTP breaks when only using FTP proxy.
This was happening because we were not resetting values of the
proxy when they are removed from the preference pane.
2000-02-23 21:17:17 +00:00
rpotts%netscape.com b8532048c9 Added nsStreamListenerEvent to the leak/bloat logging... 2000-02-23 05:22:14 +00:00
valeski%netscape.com bcced1dd94 r=rhp, a-leaf. Fixing a crasher before it hits us 2000-02-22 22:44:38 +00:00
rpotts%netscape.com 6623dd19d6 bug #22428. Added a per-instance intermediate buffer in the SocketTransport to accomadate calling AsyncWrite(...) with an nsIInputStream that does not support nsIBufferedInputStream. 2000-02-21 06:51:36 +00:00
bruce%cybersight.com 4d1163902e Fix a FMM error. r,a=waterson 2000-02-21 05:22:43 +00:00
valeski%netscape.com e843a56516 removing an un-necessary comment 2000-02-18 23:38:13 +00:00
ftang%netscape.com c239f1081a fix bug 28197 (firt part of 14155). Change the damage data ToNewCString to ToNewUTF8String. r=warren, a=bobj 2000-02-18 23:15:46 +00:00
rpotts%netscape.com f1e468f1e9 Fixed Mac warning which was masking a potential Mac-only bug... 2000-02-18 21:39:26 +00:00
gordon%netscape.com cf65d7c0ba 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. 2000-02-17 03:34:16 +00:00
andreas.otte%primus-online.de 3406f3f1fc fix for bug 27683: nsStdURL::SetSpec shouldn't modify in parameter r=putterman@netscape.com 2000-02-16 00:28:35 +00:00
valeski%netscape.com 7581b6bc06 r=rhp. we want to reset any previously set proxy info if we're not supposed to be using proxies. 2000-02-16 00:07:55 +00:00
andreas.otte%primus-online.de 2fdaf6e6d0 fix for bug 27519, URL parser mangles parameters delimited by semicolons, adds them to requested filename, r=gagan@netscape.com 2000-02-15 23:32:04 +00:00
warren%netscape.com fb1ee9db70 Bug 27576 - fixed warnings. r=gordon 2000-02-15 07:53:08 +00:00
pepper%netscape.com 04fae6e523 dding newline at end so that lesser unixes compile. 2000-02-15 00:52:56 +00:00
brade%netscape.com 3829268926 checkin change for valeski 2000-02-14 14:40:12 +00:00
valeski%netscape.com dcc3bcf0a1 building the proto proxy service on linux and win 2000-02-14 10:07:47 +00:00