Commit Graph

236 Commits

Author SHA1 Message Date
bjarne@runitsoft.com
9c260a2ab5 Bug 510359 - Cached "Vary: Cookie" responses are improperly revalidated/reused r=biesi 2009-08-24 10:32:18 -04:00
L. David Baron
d2fe19f12a Backed out changeset 3a829715fd39 (Bug 482935) on suspicion of causing mochitest-plain leaks. 2009-08-20 12:22:30 -07:00
Bjarne
b52baf2375 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed, r=jduell.mcbugs 2009-08-20 17:45:38 +02:00
Serge Gautherie
29ef41e77d Bug 474296 - Remove UA define of "WinNT3.51" and "WinNT4.0" due to out of support; (Av2) WNTv4 and (all) older; r=cbiesinger 2009-08-20 17:30:25 +02:00
Serge Gautherie
e1d979a0d2 Bug 511395 - Remove MSVC6 support from the tree, in netwerk; (Av1) Update comment only; r=cbiesinger 2009-08-19 17:01:57 +02:00
tglek@mozilla.com
a0ee6410f1 Bug 508421 - move res/ stuff into toolkit.jar (r=bsmedberg)
* * *
* * *
2009-08-27 08:35:48 -07:00
Marco Bonardo
3faa2807cc Backout Bug 462381 due to Mac build bustage 2009-10-13 16:53:27 +02:00
Mitchell Field
c5f943ce30 Bug 462381 - sprinkle magic PARALLEL_DIRS fairy dust about the build system; Build more stuff in parallel (v3)
r=(benjamin, cbiesinger, smontagu, ted.mielczarek)
2009-10-13 15:22:56 +02:00
Bobby Holley
f0f0fc4ad0 Bug 509929 - Reference cycle between nsProgressNotificationProxy and nsHttpChannel on channel redirect. r=biesi 2009-08-13 13:20:41 +02:00
Navin Lal
7d36965d96 Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
Jesse Ruderman
5d3b01fe98 Remove stray line break in NS_WARNING 2009-08-03 16:17:35 -07:00
Honza Bambas
66ab2c6182 Bug 475053 - Implement asyncPromptAuth to fix multiple password prompt overlap, r=bzbarsky+dolske 2009-07-20 20:29:41 +02:00
Honza Bambas
0ca2f9d3e2 backing out 0a13ddc99c95, bug 475053 2009-07-20 20:00:49 +02:00
Honza Bambas
8236bd055e Bug 475053 - Implement asyncPromptAuth to fix multiple password prompt overlap, r=bzbarsky+dolske 2009-07-20 17:25:05 +02:00
Honza Bambas
365bb48638 Bug 501422 - HTML5 offline resources doesn't work, r=bzbarsky 2009-07-20 17:25:04 +02:00
Justin Dolske
5e37204846 Bug 503202 - Change Windows CE user agent string. r=vladimir 2009-07-09 15:23:04 -07:00
timeless@mozdev.org
cc096f80f6 Bug 500167 http should use contractids for other services
r=biesi sr=biesi
2009-06-27 18:42:51 -07:00
Neil Rashbrook
09baa30448 Bug 499675 data protocol handler should not match data: scheme case-sensitively r+sr=biesi 2009-06-23 12:44:37 +01:00
Makoto Kato
6fd01642f1 Bug 498324 - Network layer support for Symbian emulator. r=bzbarsky, sr=cbiesinger 2009-06-19 16:11:32 +09:00
Mark Smith
bb426c0819 Bug 437174 - Disabling 3rd party cookies breaks sending cookies for
channels with no docshell.  r+sr=bzbarsky.
  Added forceAllowThirdPartyCookie to nsIHttpChannelInternal.
  Added LOAD_FLAGS_FORCE_ALLOW_COOKIES to nsIWebNavigation.
  Added PERSIST_FLAGS_FORCE_ALLOW_COOKIES to nsIWebBrowserPersist.

--HG--
extra : rebase_source : 0ea11e1ed53d75152f57ffed74f44fc749a7a567
2009-06-16 10:30:25 -04:00
Bjarne
f2735cd200 Bug 490095 fix regression from bug 468594: don't override VALIDATE_NEVER when
the URL has a query string and no explicit expiration time.
r+sr=biesi
2009-06-16 18:27:17 +02:00
Marco Pesenti Gritti
3a64c67e10 Bug 495618 - "Reloading form posts fails with javascript nsIPromptService implementation". r+sr=bzbarsky 2009-06-11 13:09:34 -04:00
Jason Duell
e88ee35760 Allow top-level, non-POST 3xx redirects from proxy server: bug 491818 2009-05-17 10:22:55 -04:00
Jason Duell
944be0e667 Bug 479880. Prevent failed SSL tunnel replies from being interpreted: replace with boilerplate error pages. r=jwalden, sr=bzbarsky 2009-04-23 15:49:32 -04:00
Josh Aas
3142ca9bfc Port networking to 64-bit Mac OS X. b=489280 r=smichaud sr=roc 2009-04-22 09:05:35 -04:00
Josh Aas
c6a41e8074 Remove OJI from the tree. b=485984 r/sr=jst 2009-04-09 22:38:21 -04:00
Dão Gottwald
15d011c35a Backed out changeset 905b72e27bb9 2009-04-05 17:49:12 +02:00
Michal Novotny
9bee618aca Bug 475444 - HTTP standard violation, Content-length header appears to be ignored under some circumstances. r=bz, sr=biesi 2009-04-05 16:50:45 +02:00
Koen Deforche
9c614d6177 Bug 479016 - ftp fails opening PASV data connection over socks with remote dns resolution enabled; r=bzbarsky sr=cbiesinger 2009-03-19 00:59:39 +01:00
Bjarne
696e7d1565 Bug 203271 - max-age should override expires in http headers; r=(cbiesinger + jwalden+bmo) sr=cbiesinger 2009-03-19 00:59:36 +01:00
Bjarne
b751f8e069 Bug 468594 - Fix heuristic query freshness; r=cbiesinger 2009-03-17 15:23:01 +01:00
Boris Zbarsky
4df63aaac7 Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Dave Townsend
36de5ef33a Backed out changeset 55d159b75f41 from bug 482659. 2009-03-17 11:08:59 +00:00
Boris Zbarsky
1f8b3851ba Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Serge Gautherie
b3c9076b8a Backed out changeset: be6d39f94146 of
Bug 203271 - max-age should override expires in http headers; r+sr=cbiesinger
which breaks all test suites.
2009-03-13 19:08:52 +01:00
Bjarne
31c00e6eb5 Bug 203271 - max-age should override expires in http headers; r+sr=cbiesinger 2009-03-13 15:51:29 +01:00
Bjarne
474a2cb070 Bug 473371 - Make FTP also honor LOAD_ANONYMOUS flag; r=jduell.mcbugs sr=jonas 2009-03-08 10:38:57 +01:00
Mook
7909cef9dc Bug 481311 - nsIResProtocolHandler.idl shouldn't #include nsAString.h. r=bsmedberg 2009-03-08 10:21:38 +01:00
Bryan McQuade
95c153363f Bug 481612 - Should send activity distributor notifications also for STATUS_RECEIVING_FROM
r+sr=biesi
2009-03-05 19:47:01 +01:00
Honza Bambas
60579fc675 Bug 474038 - Don't reuse keep-alive connections for both anonymous and non-anonymous requests; r=(cbiesinger + jonas) sr=jonas 2009-02-26 18:43:45 +01:00
Serge Gautherie
1559e80045 Backed out changeset: 08b98b9b0868 2009-02-25 16:46:51 +01:00
Koen Deforche
e64eff0388 Bug 479016 - ftp fails opening PASV data connection over socks with remote dns resolution enabled; r=bzbarsky sr=cbiesinger 2009-02-25 16:25:06 +01:00
Dave Camp
fbbee40aa1 Bug 471227 - revert debug spew for now. 2009-02-25 01:03:13 -08:00
Dave Camp
1a8ea997f1 Bug 471227 - More debug spew. 2009-02-24 23:12:13 -08:00
Jonas Sicking
fea9eede61 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Jonas Sicking
b2248a4405 Backed out changeset 4130ff1e52f3 (bug 479521) due to test failures. 2009-02-24 15:38:40 -08:00
Jonas Sicking
ca2acd2b73 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Michal Novotny
5e7c0ee5dd Bug 474434 - Active ftp sessions are not closed when clearing recent history; r=bzbarsky sr=cbiesinger 2009-02-23 19:28:17 +01:00
Arpad Borsos
70846f9fab Bug 474369 - get rid of nsVoidArray; netwerk part, v2; r=cbiesinger 2009-02-23 02:05:28 +01:00
Michal Novotny
101b019764 Bug 386167 - firefox doesn't show login/password form when connecting to ftp server with anonymous accounts disabled; r+sr=bzbarsky 2009-02-21 03:09:18 +01:00
Jason Duell
8fbc5ad91e Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
L. David Baron
671f598185 Backed out changeset 4bd7dd7645c2 (Bug 474536) 2009-02-19 12:37:53 -08:00
Jason Duell
8c27d27270 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
Honza Bambas
69fd52a1e3 Bug 474696 - Process fallbacks on out-of-domain redirects, r=dcamp 2009-02-18 14:31:32 +01:00
bjarne@runitsoft.com
244d9431fc Bug 466080 - Make more things honor the LOAD_ANONYMOUS flag r=sicking,MisterSSL, sr=sicking 2009-02-17 14:06:52 -08:00
Michal Novotny
bfa4969899 Bug 449198 - http-on-examine-response isn't fired when a response comes from the cache; r=bzbarsky sr=cbiesinger 2009-02-12 05:16:00 +01:00
Chris Pearce
dab0d6b3f3 Bug 469446. Necko should be able to cache byte-range requests when the start offset is zero. Then we can make our initial video load a byte-range request to detect whether the server supports byte-range requests, and the video data can still be cached. r=doublec,sr=roc,r=bzbarsky
--HG--
extra : rebase_source : acec408274be2b770b5f1936b4f915ef1bafa60b
2009-01-16 21:22:08 +13:00
Michal Novotny
ed31cc1590 Bug 491873 - Crash [@ nsFtpState::CanReadCacheEntry] with cursor that points to ftp and going offline 2009-07-22 15:05:52 +02:00
Michal Novotny
6773e9b109 Bug 214405 - Unable to ftp virtual folder. r=jduell, sr=cbiesinger 2009-09-21 19:57:36 +02:00
Steve Snyder
b1da8fa53e Bug 509730 - Use strchr(), not strstr(), for single-char searches, r=bsmedberg 2009-09-22 20:33:24 -07:00
Dave Camp
1f1b980ffe Bug 441751 - "Directives not to cache pages ignored." [r+sr=bzbarsky]
* * *
Bug 441751 - "Directives not to cache pages ignored." (fix for offline cache updating) [r+sr=bzbarsky]
2008-12-11 21:57:47 -08:00
Shawn Wilsher
bf0e65a35b Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Dave Camp
30b213c23a Backed out changeset e33f490c8764 2008-12-08 20:26:56 -08:00
Dave Camp
06a2be6538 Bug 441751: Fix up LOAD_ONLY_FROM_CACHE. r+sr=bz 2008-12-08 19:24:33 -08:00
Shawn Wilsher
6ea17d3edc Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
52fa025019 Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Masahiro Yamada
2623c93663 Bug 464162 - Apache does not accept IPv6 addresses with a scope id in the Host: header; r+sr=cbiesinger 2008-12-06 14:15:24 +01:00
Patrick McManus
36e0dca600 Bug 464838: Tweak DNS prefetch to hopefully fix a tp3 regression. r+sr=bz 2008-12-05 12:53:24 -08:00
Ehsan Akhgari
f6339a1187 Bug 462707 - nsHttpChannel::GetEntityID should respect Accept-Ranges response header; r,sr=biesi a191=beltzner 2008-11-28 15:28:57 -08:00
Boris Zbarsky
e801383a04 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
Patrick McManus
92f594cb63 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner 2008-11-07 18:00:26 -05:00
Honza Bambas
c8fedd2705 Bug 461325: Cache implicit entries when the manifest is not changed. r=dcamp, sr=biesi 2008-11-05 16:01:08 -08:00
Justin Dolske
b851587e76 Investigating leaks in bug 463263, backout bug 453403. 2008-11-05 12:55:38 -08:00
Justin Dolske
4c397f756a Backed out changeset e8fd3f4c52b6 2008-11-05 12:54:51 -08:00
Gavin Sharp
d54eed15ff Backed out changeset f014c59ad81d 2008-11-04 23:35:39 -05:00
Jeff Muizelaar
d6bc35b4d4 Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, original patch by shaver@mozilla.org, r+sr=biesi 2008-11-04 23:11:31 -05:00
Dave Camp
9e7892628c merge 2008-11-04 11:58:28 -08:00
Doug Turner
7ae65dfa00 Merge to tip 2008-11-04 11:39:05 -08:00
Patrick McManus
346822dba8 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 11:14:29 -05:00
Doug Turner
098a5dadd2 Merge to tip 2008-11-04 08:12:50 -08:00
Patrick McManus
3714739a14 Bug 459724. Make page reload bypass the DNS cache. r+sr=bzbarsky 2008-11-04 11:05:46 -05:00
Boris Zbarsky
f3130e5161 Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7 2008-11-04 11:03:10 -05:00
Doug Turner
a779bc0a00 Bug 461832 - windows mobile bustage on file protocol handler. r=blassey sr=bz 2008-11-04 07:23:54 -08:00
Patrick McManus
7f731cfb6e Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:14:50 -05:00
Patrick McManus
0798777095 Bug 459724. Make page reload bypass the DNS cache. r+sr=bzbarsky 2008-11-04 10:12:49 -05:00
Dave Camp
075a71489f Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
timeless@mozdev.org
8277de41ec Bug 460115 Setting "Authorization" request header to value without a space results in crash [@ libc-2.6.so@0x6fbcc]
r=biesi sr=biesi
2008-11-03 23:08:44 +01:00
Ian
ee43bba9c1 Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
Bjarne
32ebd22262 Bug 327765 - Mozilla's cache does not invalidate on non-GET requests; r=cbiesinger 2008-10-10 18:14:51 +02:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Boris Zbarsky
d666c489d5 Back out changeset a8eb5fc88c01: relanding bug 455311. Treat .url files as redirects. r+sr=biesi 2008-09-29 17:02:44 -04:00
L. David Baron
e56b3fe07b Merge backout of changeset 6357eb31cec6 (bug 455311) for causing performance regression bug 458065. 2008-10-05 19:56:17 -07:00
L. David Baron
00cbbadc3e Backed out changeset 6357eb31cec6 (bug 455311) for causing performance regression bug 458065. 2008-10-05 19:55:41 -07:00
Michal Novotny
50b78fb725 Bug 412945 - "Malformed POST requests generated when using elance.com" [r=biesi sr=bzbarsky] 2008-10-01 00:31:24 -05:00
Daniel Veditz
7e406efef1 Bug 380994 - "Fix for bug 367428 lets through escaped slashes on Linux (windows too on trunk)" (incremental patch on top of what's checked in) [r=biesi] 2008-10-01 00:21:05 -05:00
Daniel Veditz
e519ee34e1 Bug 380994 - "Fix for bug 367428 lets through escaped slashes on Linux (windows too on trunk)" [r=biesi] 2008-10-01 00:15:58 -05:00
Jonas Sicking
cce6fbac9b Implement cookieless requests for Access-Control. b=389508 r=biesi sr=jst 2008-09-30 17:52:52 -07:00
Dave Camp
83b59a4752 Followup to bug 442813, return the right error when offline. r+sr=biesi 2008-09-30 13:26:42 -07:00
Dave Camp
5a11a16230 Bug 442813: Implement fallback/opportunistic caching for application caches. p=me, Honza Bambas <honzab@allpeers.com>, r+sr=biesi 2008-09-30 11:34:23 -07:00
Brian Crowder
67671b9984 Bug 450973 - Gecko date in the UA string shouldn't be longer than 8 digits (YYYYMMDD). r+sr=bz 2008-09-30 19:07:09 +02:00