Commit Graph

8184 Commits

Author SHA1 Message Date
Honza Bambas
0abfde411a Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal 2012-07-11 20:20:17 +02:00
Fabrice Desré
3fe7c66a25 Bug 769350 - Implement trusted/certified app scheme support [r=vingtetun] 2012-07-11 08:38:36 -07:00
Ehsan Akhgari
35d6ba9c3b Bug 772523 - Remove the unused nsMemoryCacheDevice::mEvictionThreshold member; r=michal 2012-07-11 09:39:06 -04:00
Michal Novotny
15b7354070 Bug 737615 - Remove use of synchronous cache API from unit tests - minor fixies in necko tests, r=bsmith 2012-07-11 11:18:00 +02:00
Thinker K.F. Li
68ea4f962a Bug 769291 - Move nsOfflineCacheDevice::Discard() to cache IO thread. r=honzab
Discard() is called from destructor of nsApplicationCache.  Instances
of nsApplicationCache is released by last reference, it can be in main
thread.  We move Discard() tasks to cache IO thread to avoid blocking
the main thread.
2012-07-11 14:16:00 +08:00
Ryan VanderMeulen
13fc9bf9b8 Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange. 2012-07-10 19:21:54 -04:00
Josh Aas
9eb7222d1c Bug 769782: Remove synchronous DNS resolution in network tests. r=mcmanus 2012-07-10 18:23:07 -04:00
Honza Bambas
cef3387a8a Bug 729182 - Implement visual event tracer, dns instrumentation, r=sworkman 2012-07-10 23:49:19 +02:00
Honza Bambas
7c36b706a6 Bug 729182 - Implement visual event tracer, http instrumentation, r=mcmanus 2012-07-10 23:49:19 +02:00
Honza Bambas
3c33725683 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02:00
Honza Bambas
4c04a1f793 Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal 2012-07-10 23:49:17 +02:00
Ehsan Akhgari
f3dc77d62d Bug 772525 - Remove the unused variable on in nsCacheService::Lock; r=bsmith
DONTBUILD
2012-07-10 14:41:42 -04:00
Ehsan Akhgari
ec268d38f1 Remove some extra trailing semicolons (no bug) 2012-07-10 12:55:08 -04:00
Josh Aas
ec000bb6de Bug 771489: Use standard threadsafe refcounting in host resolver. r=sworkman 2012-07-10 10:14:01 -04:00
Jason Duell
3161d97ddf Bug 771318 - Fix early websocket Init fail. r=mcmanus, r=smaug 2012-07-09 18:20:25 -07:00
Jason Duell
8830cb6a22 Bug 771318 - Code cleanup before actual fix. r=mcmanus 2012-07-09 18:20:21 -07:00
Ryan VanderMeulen
8b9c9fea4d Merge m-c to inbound. 2012-07-09 20:53:11 -04:00
Gregory Szorc
2df88561d9 Merge mozilla-central into services-central 2012-07-08 20:48:04 -07:00
Gregory Szorc
59824469a6 Merge mozilla-central into services-central 2012-07-03 09:55:45 -07:00
Richard Newman
fd9142fed2 Merge m-c to s-c. 2012-07-01 11:06:36 -07:00
Richard Newman
ed3f303f82 Merge m-c to s-c. 2012-06-29 23:45:13 -07:00
Gregory Szorc
e921c68d8f Bug 755196 - Allow httpd.js to be loaded as a testing module; r=mcmanus 2012-06-29 13:28:04 -07:00
Brian Smith
5e3d5c6051 Bug 761228: Fix 304 response handling for custom conditional responses to prevent crash, r=jduell
--HG--
extra : rebase_source : 26494ad6bf23c3290f74fdd6ffc21a1db0b7f429
2012-06-28 12:34:32 -07:00
Ed Morley
68c7b298d0 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-29 08:41:44 +01:00
Brian Smith
2ed11f64db Backout change to netwerk/test/unit/test_bug651100.js from the patch for Bug 737615, a=bustage
--HG--
extra : rebase_source : 50d718395cafa292025452bb01a94fec9f4ae216
2012-06-28 19:39:48 -07:00
Jason Duell
fc69908166 Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 17:53:50 -07:00
Jason Duell
c4d15f545f Backout 25663e7d7f56 a=memory leak 2012-06-28 16:37:26 -07:00
Jason Duell
ebd1c14620 Backed out changeset 25663e7d7f56 a=memory leak 2012-06-28 16:36:14 -07:00
Jason Duell
654172f842 Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 14:42:21 -07:00
Patrick McManus
f741c62912 bug 767159 remove sync dns from socks proxy r=biesi 2012-06-28 18:24:02 -04:00
Patrick McManus
5eafa03052 bug 766312 - part 1 - pipeline cancelation could be "undone" r=honzab 2012-06-28 18:06:32 -04:00
Ryan VanderMeulen
15b9e2b074 Backout 38cfb0413e04 (bug 767506) due to M1 permaorange. 2012-07-02 21:55:24 -04:00
Jason Duell
7d56fc2f60 Bug 767506 - Select proper proxy caps for non-SSL CONNECT. r=honzab 2012-07-02 17:38:34 -07:00
Brian Smith
aaebfde4e6 Bug 767275 - Add more detailed cache lock telemetry, r=michal, r=nfroyd
--HG--
extra : rebase_source : 60962876704a945ba83dc8ccfde938aa1957cb96
2012-06-29 16:20:34 -07:00
Paul Adenot
d7c5822013 Bug 767087 - xpcshell test r=jduell 2012-06-26 10:35:00 -07:00
Paul Adenot
ad06c6d7c9 Bug 767087 - Add a flag to force content sniffing when we get served application/octet-stream. r=jduell 2012-06-26 10:33:00 -07:00
Patrick McManus
ecf598e263 bug 769264 pipeline logging cleanups r=honzab
--HG--
extra : rebase_source : fc747b84349096b70d8b75d8aff8626826380d81
2012-07-02 18:10:04 -04:00
Patrick McManus
61c13ff996 bug 770264 - http connection diagnostics r=honzab 2012-07-09 18:07:57 -04:00
Jason Duell
ec81304c25 Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus 2012-06-22 12:01:00 -07:00
Jason Duell
036985ae48 Bug 766929 - NS_ABORT_IF_FALSE(mConnectionInfo->UsingSSL()) failing [websockets http proxy]. r=mcmanus 2012-06-22 11:47:00 -07:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mounir Lamouri
54aa3cb424 Bug 769583 - Add methods to nsIPermissionManager to take principals instead of URIs. r=sicking 2012-07-09 12:26:12 +02:00
Michal Novotny
2ec7aba459 Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith
--HG--
extra : rebase_source : 626a90178480b47f24956a86914fdc3e76cbd20b
2012-06-12 14:23:32 -07:00
Brian Smith
570f8e4fac Bug 764171: Fix crash in nsStorageStream by avoiding pre-buffering for items we will validate, r=honzab
--HG--
extra : rebase_source : e1229663f56643ef25805b26126893df51aaace7
2012-06-28 12:18:25 -07:00
Brian Smith
1fff8fcb92 Bug 760955 - Fix null pointer dereference in mozilla::net::nsHttpChannel::InstallOfflineCacheListener, r=hurley
--HG--
extra : rebase_source : 7cc662e898a48b05836441591b72587d8e988b2f
2012-06-12 14:25:24 -07:00
Brian Smith
b5ce05041f Bug 760380 - Stop calling mOfflineCacheEntry->GetLastModified when processing response from normal cache, r=honzab
--HG--
extra : rebase_source : a649fa6e59638bf1e6d220cfc08960f7848a28ba
2012-06-12 14:23:06 -07:00
Boris Zbarsky
579ddd678c Bug 558220 part 2. Fix a bug in the test HTTP header that caused it to misread headers when a packet boundary fell between the CR and LF at the end of a header value. r=waldo 2012-06-28 00:26:13 -04:00
Boris Zbarsky
4c85cae6d2 Bug 558220 part 1. Add more debugging spew to the test HTTP server. r=waldo 2012-06-28 00:26:12 -04:00
Jason Duell
b0344cefa6 Bug 757738 - Websockets: release reference to nsIWebSocketListener after OnClose. r=mcmanus 2012-06-29 23:02:08 -07:00
Jason Duell
0ae5df51bc Bug 769529 - Update nsIWebSocket*.idl comments to reflect that we don't always call OnStart. r=mcmanus, sr=biesi 2012-06-29 22:59:49 -07:00
Patrick McManus
68046fe5d5 bug 763312 pipeline position 0 read time rescheduling fixes r=honzab
--HG--
extra : rebase_source : 553ba9fc1f64bea331c191adc096437dadebbca5
2012-06-29 14:24:29 -04:00
Gervase Markham
608135596e Bug 763208 - Update .jp entry in PSL. 2012-07-04 16:08:35 +01:00
Brian Smith
9339bd8930 Bug 763342 - Fix device-specific cache hit rate telemetry regression, r=michal
--HG--
extra : rebase_source : fb9b49591d2487cd0567922b2e0cdef7e38dd97a
2012-06-21 13:58:51 -07:00
Michal Novotny
0a825398c9 Bug 764337 - Firefox 14+ requests images inserted by JS multiple times if not cached r=mayhemer 2012-07-03 19:28:04 +02:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Patrick McManus
6114f98c13 bug 764648 navigation timing responseEnd not recorded on EOF HTTP delimiter r=honzab
--HG--
extra : rebase_source : d1d23dfe2a8f69f7cab61ac332571e190b2ec846
2012-06-26 10:47:46 -04:00
Ed Morley
3315e7c5e2 Backout d45ca69b67a3 (bug 767516), 4ff98d3e4d8d (bug 767512), 70cc47076115 (bug 767505), 4eca26d02c84 (bug 766929) for mochitest-plain-5 failures 2012-06-25 21:38:10 +01:00
Jason Duell
b6e7808734 Bug 767516 - Rename: s/SSLConnect/ProxyConnect/g r=mcmanus 2012-06-25 12:48:50 -07:00
Jason Duell
9392a5a0d0 Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus 2012-06-25 12:48:49 -07:00
Jason Duell
4c7cdee822 Bug 767505 - ProcessAuthentication misses error check for non-SSL CONNECT. r=mcmanus 2012-06-25 12:48:49 -07:00
Jason Duell
29985e6362 Bug 766929 - NS_ABORT_IF_FALSE(mConnectionInfo->UsingSSL()) failing. r=mcmanus 2012-06-25 12:48:49 -07:00
Simone Carletti
4f82d5783f Bug 767700 - fix line endings to be consistent. r=gerv. 2012-06-25 18:11:45 +01:00
Jason Duell
40a4ffa542 Bug 713023 - Websockets: don't prefer SOCKS to HTTP proxy until bug 449251 is fixed. r=biesi 2012-06-22 10:59:53 -07:00
Simone Carletti
e3126205c5 Bug 767312 - update PSL for .sh. r=gerv. 2012-06-22 13:50:56 +01:00
Dão Gottwald
962da99922 Bug 728831 - Don't expose the Firefox patch level (13.X.Y) in the UA string, only show the major version (13.X). r=bz sr=gavin 2012-06-22 13:52:47 +02:00
Brian Smith
2298c6a68f Bug 763351: Fix cache hit rate telemetry so that kCacheMissedViaReval gets reported, r=hurley
--HG--
extra : rebase_source : 4f914bbe9ef20693ed25dd3da8f4a5a81953c03f
2012-06-21 13:48:59 -07:00
Brian Smith
f4f627ae83 Bug 765665: Stop acquiring the cache service lock in nsICacheService::GetCacheIOTarget when on the main thread, r=michal
--HG--
extra : rebase_source : 1c364e317d11f024774952a89784609a68b8f6f2
2012-06-21 13:47:44 -07:00
Patrick McManus
b6c0a2f287 bug 764186 spdy sessions closed prematurely if started with null transaction r=honzab 2012-06-21 21:14:40 -04:00
Patrick McManus
7cd2fe0d0c bug 763352 - Proxy/NPN issue r=honzab
--HG--
extra : rebase_source : b4b592d695fe0ddbf5d451b385dc45202d100816
2012-06-20 20:55:02 -04:00
Patrick McManus
126fdcaa3c bug 766159 - User-Agent product sub code wrong with NSPR logging on r=jduell
--HG--
extra : rebase_source : 8f59eaad172e1a7c3e39fa02543783e8f2709f08
2012-06-20 17:07:42 -04:00
Patrick McManus
03d1c06772 bug 762505 - spdy/3 0 length responses with fin on syn-reply were not eof r=honzab
--HG--
extra : rebase_source : 933af8cbdb1c5bc9cbc66ddfcfd350fcff775a35
2012-06-20 13:07:01 -04:00
Simone Carletti
e102b2987e Bug 757005 - add .sx to PSL. r=gerv. 2012-06-20 16:06:54 +01:00
Simone Carletti
67e5da3d05 Bug 732960 - update PSL to remove misleading comment. r=gerv. 2012-06-20 11:24:01 +01:00
Simone Carletti
9af6325787 Bug 732960 - standardize PSL comment spacing. r=gerv. 2012-06-20 11:23:22 +01:00
Simone Carletti
9c45459f9f Bug 732960 - update PSL for .sd, .ug and .uz. r=gerv. 2012-06-20 11:22:55 +01:00
Simone Carletti
6e198ab8f6 Bug 732960 - update PSL comments for .sg and .tj. r=gerv. 2012-06-20 11:22:16 +01:00
Simone Carletti
9bfa68c677 Bug 732960 - update PSL for .tm. r=gerv. 2012-06-20 11:21:23 +01:00
Patrick McManus
dc58b91395 bug 764260 convert telemetry::SPDY_VERSION and DNS_LOOKUP_METHOD to be enumerations r=bsmith 2012-06-19 20:38:44 -04:00
Jason Duell
0a66a023f2 Bug 713026 - websockets bootstrap via proxy should always CONNECT. r=mcmanus 2012-06-18 22:50:20 -07:00
Ehsan Akhgari
e0f2ea75a7 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (netwerk parts); r=jduell 2012-06-05 23:18:25 -04:00
Jason Duell
79f6c2507f Bug 742614: Allocation of string is not checked in WebSockets text frame parsing. r=bsmith 2012-05-11 02:05:00 -07:00
Julian Reschke
5bdcbbf5ea Bug 732369 - Content-Disposition parser does not require presence of ";" between params. r=jduell 2012-06-07 22:57:00 -07:00
Honza Bambas
fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Mark Finkle
d80b2ddb63 Bug 754575 - Cache.Trash* files fill up disk space r=blassey r=jduell 2012-06-11 16:06:07 -04:00
Ryan VanderMeulen
5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Gordon P. Hemsley
ac029fe4c9 Bug 672448 - Clamp quality factor ('q') values to 3 decimal places. r=biesi 2012-06-09 19:01:59 -04:00
Jan Varga
ef45415f51 Bug 763013 - Race condition in async stream copier. r=biesi 2012-06-09 22:54:24 +02:00
David Rajchenbach-Teller
83974652ed Bug 722332: add an asynchronous initialization API to nsIBrowserSearchService, with a fallback to synchronous initialization for backwards compatibility, r=gavin 2012-05-03 16:56:33 +02:00
Honza Bambas
5cb28d5772 Bug 762115 - Missing null check at nsHttpChannel::GetProfileDirectory, r=michal 2012-06-07 18:10:21 +02:00
Ed Morley
d1b860bd10 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Geoff Lankow
521ffb72d2 Bug 762079 - crash in nsFileStreamBase::MaybeOpen; r=bent 2012-06-07 11:42:10 +12:00
Makoto Kato
77dbc74eac Bug 761979 - nsfilestreams.cpp(817) : warning C4700: uninitialized local variable 'rv' used. r=janv, jduell 2012-06-07 10:17:38 +09:00
Patrick McManus
6b69dcf1a3 bug 760608 alternatve 1 preconnect problem with SSL r=honzab 2012-06-06 15:47:45 -04:00
Jason Duell
4be6af5664 Bug 747215: Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-06-05 23:59:05 -07:00
Jason Duell
5575a9f9e0 Bug 761932: Ensure OnStartRequest called in bug 738484 codepaths. r=mcmanus 2012-06-05 23:54:20 -07:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Ehsan Akhgari
624a77c0c9 Merge the last green PGO changeset of mozilla-inbound to mozilla-central 2012-06-04 11:31:44 -04:00
Honza Bambas
ae90275e78 Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny 2012-06-04 16:12:24 +02:00
Ed Morley
e72fa6d68c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-01 15:27:36 +01:00
Brian Smith
95cff046d9 Bug 722034 - Part 8 - Work around bug 759805, r=michal 2012-05-31 22:12:01 -07:00
Jason Duell
82550caf75 Bug 748766 - Only count connected websockets toward max-websocket limit. r=mcmanus 2012-05-31 16:41:24 -07:00
Brian Smith
512c67299c Bug 722034 - Part 6 - Stop accessing cache descriptor on main thread for telemetry purposes, r=hurley 2012-05-31 15:20:06 -07:00
Brian Smith
14b3034808 Bug 722034 - Part 5 - Move cache validation to the cache thread, r=honzab 2012-05-31 15:20:05 -07:00
Brian Smith
ad77600657 Bug 722034 - Part 4 - Make a copy of the information needed during cache validation in preparation for moving cache validation to the cache thread, r=honzab 2012-05-31 15:20:05 -07:00
Brian Smith
abff910e11 Bug 722034 - Part 3 - Convert HttpBaseChannel::mRedirectedCachekeys to nsAutoPtr<nsTArray<nsCString> >, r=biesi 2012-05-31 15:20:05 -07:00
Patrick McManus
fdedcd5b54 bug 759438 - crash in nsHttpTransaction::HandleContentStart due spdy restart r=honzab 2012-06-03 21:13:12 -04:00
Geoff Brown
1d11fd0b04 Bug 745340 - Improve disk cache smart sizing for mobile; r=jduell 2012-05-30 22:59:33 -04:00
Shriram Kunchanapalli
5b9a95ea6a Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Ed Morley
6cf4e96cb1 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Patrick McManus
7294cbd950 bug 737470 new spdy v3 files had old mpl header r=trivial 2012-05-30 12:23:05 -04:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Honza Bambas
eee5d0070e Bug 758852 - crash @ nsHttpConnectionMgr::nsHalfOpenSocket functions in Private Browsing, r=mcmanus 2012-05-29 16:51:21 +02:00
julian.reschke@gmx.de
5fcdbb550a Bug 730574: handle quoted-string unescaping in RFC 2231 continuation parameters. r=jduell 2012-05-28 16:14:04 -04:00
Magnus Melin
b9a8563603 Bug 223681 - [mozTXTToHTMLConv] fails for links with ipv6 addresses. r=ben.bucksch, sr=cbiesinger 2012-05-28 22:07:56 +03:00
Brian Smith
ab38494662 Bug 722034 - Part 2 - Factor out nsHttpChannel::Hash into a standalone function, r=biesi 2012-04-05 01:57:30 -07:00
Michal Novotny
7650594949 Bug 722034 - Part 1 - Make AsyncOpenCacheEntry call the listener for non-blocking async requests from background threads, r=hurley 2012-05-31 15:20:04 -07:00
Brian Smith
390836258c Bug 746018 - Part 6 - Start buffering cache entries in memory before we validate them, r=honzab 2012-05-31 15:20:04 -07:00
Brian Smith
f9466c8ef5 Bug 746018 - Part 5 - Simplify ShouldUpdateOfflineCacheEntry, r=honzab 2012-05-31 15:20:03 -07:00
Brian Smith
0184bfe5df Bug 746018 - Part 4 - More cache logging, r=jduell 2012-05-31 15:20:03 -07:00
Brian Smith
0499d869d8 Bug 746018 - Part 3 - Do more logging in nsInputStreamWrapper, r=jduell 2012-05-31 15:20:02 -07:00
Brian Smith
9ed64256d8 Bug 746018 - Part 2 - Split nsHttpChannel::Connect() into two pieces--one that executes before checking the cache, one that executes after, r=honzab 2012-05-31 15:20:02 -07:00
Brian Smith
4ebd5ef705 Bug 746018 - Part 1 - Prevent changing channel state after AsyncOpen in more places, r=honzab 2012-05-31 15:20:02 -07:00
Brian Smith
ab91f6f0a2 Bug 759019 - Make nsHttpResponseHead and nsHttpRequestHead copy-constructable, assignable, and const-correct, r=biesi 2012-04-05 01:21:02 -07:00
Patrick McManus
b5d1b0d101 bug 757882 replace 250+ lines of redundant nsAHttpConnection implementations with macros r=jduell 2012-05-25 17:56:41 -04:00
Patrick McManus
cae1bafa38 bug 737470 patch 3 implement spdy v3 (pref off) r=honzab 2012-05-25 17:43:10 -04:00
Patrick McManus
e68b6e9d07 bug 737470 patch 2 clone spdy/2 into spdy/3 r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession2.cpp => netwerk/protocol/http/SpdySession3.cpp
rename : netwerk/protocol/http/SpdySession2.h => netwerk/protocol/http/SpdySession3.h
rename : netwerk/protocol/http/SpdyStream2.cpp => netwerk/protocol/http/SpdyStream3.cpp
rename : netwerk/protocol/http/SpdyStream2.h => netwerk/protocol/http/SpdyStream3.h
2012-05-25 17:37:08 -04:00
Patrick McManus
ba5ffc3931 bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.h => netwerk/protocol/http/SpdyStream2.h
2012-05-25 17:37:01 -04:00
Patrick McManus
c1096ca2e1 bug 758725 spdy act on fin on synreply r=honzab 2012-05-25 17:18:41 -04:00
Josh Matthews
724407ef07 Bug 722845 - Part 4: Add PB information to wyciwyg channels. r=jduell 2012-05-24 16:31:54 +01:00
Josh Matthews
447c9b5f07 Bug 722845 - Part 3: Remove cache service use of private browsing service, and replace it with a single observer notification. r=michal.novotny 2012-05-24 16:31:54 +01:00
Josh Matthews
4a1921cd15 Bug 722845 - Part 2: Generalize channel private browsing information to a PB consumer interface. r=jduell 2012-05-24 16:31:54 +01:00
Josh Matthews
30d7146e2c Bug 722845 - Part 1: Add private browsing information to HTTP channels. r=jduell,mayhemer 2012-05-24 16:31:53 +01:00
Josh Matthews
c45b403049 Bug 722845 - Part 0: Add private flag for cache entries/sessions/requests. r=michal.novotny 2012-05-24 16:31:53 +01:00
Ed Morley
f356417694 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-23 10:41:25 +01:00
Jan Varga
4731c74308 Bug 757511 - Make it possible to raise the maximum number of threads. r=biesi 2012-05-23 06:24:18 +02:00
Jan Varga
d4b98885d8 Bug 757507 - Implement read-write file streams. r=biesi 2012-05-23 06:23:11 +02:00
Ryan VanderMeulen
4f9cad8a80 Merge m-c to inbound. 2012-05-21 20:37:54 -04:00
Patrick McManus
6b1a01cb30 bug 756551 part 2 verify state of spdy mNeedsCleanup stream r=honzab 2012-05-21 17:09:34 -04:00
Patrick McManus
b4492fadee bug 756551 spdy stream index integrity checks r=honzab 2012-05-21 17:09:25 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Shawn Landden
a31c0374b0 Bug 747257 - Part 2: Add media type mapping for .mp4. r=rillian
Associate .mp4 files with the "video/mp4" mime type so that we can open them
directly via file://
2012-05-17 17:20:15 -07:00
Honza Bambas
c8c5d41176 Bug 749209 - Happy Eyeballs implementation still not quite right, r=mcmanus 2012-05-22 22:12:40 +02:00
julian.reschke@gmx.de
dc686f0a90 Bug 663057 - support RFC2231/5987 encoding for title parameter in HTTP link header fields. r=hsivonen 2012-05-21 06:31:00 -07:00
Oleg Romashin
98f9df6c9e Bug 756384 - Maemo/Meego builds should have the "Mobile" token in the UA string. r=mfinkle 2012-05-19 11:31:17 -04:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jason Duell
fe4f933442 Bug 753105 - Change Websocket "internal error" code to 2011. r=mcmanus 2012-05-17 10:59:26 -07:00
Jason Duell
dc8e1646bb Bug 748580 - websockets: omit close code when none passed to close(). r=mcmanus 2012-05-17 10:56:56 -07:00
Patrick McManus
c02fb45d9a Bug 755316 nullhttptransaciton based spdystream does not finish r=honzab 2012-05-16 09:05:34 -04:00
Patrick McManus
ddf8294f59 bug 755174 spdysession::readsegments may not set reader without transaction r=honzab 2012-05-16 09:05:34 -04:00
Patrick McManus
a0e3fa61bd Bug 755167 - spdysession::mConnection should not be nsHttpPipeline r=honzab 2012-05-16 09:05:34 -04:00
Ryan VanderMeulen
d0d422a19f Merge m-c to inbound 2012-05-15 19:24:50 -04:00
Patrick McManus
4e71c1624c Bug 755467 SpdySession::RestrictConnections() should use conn->EverUsedSpdy() r=honzab 2012-05-15 16:31:29 -04:00
Mike Hommey
fe881f4ebe Bug 748001 - Use explicit targets for object files. r=ted 2012-05-15 07:44:32 +02:00
Brian R. Bondy
c2f0611b53 Bug 754894 - Catalog sheet code is broken at least in unpackaged build. r=bz 2012-05-15 12:15:05 -04:00
Honza Bambas
44c6a064f2 Bug 621446 - Crash [@ mozilla::net::HttpChannelParent::RecvRedirect2Verify ], r=jduell 2012-05-15 16:44:25 +02:00
Alexandre Poirot
b74038af93 Bug 682305 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS. r=sicking 2012-05-10 19:58:48 +01:00
Blake Kaplan
94c4150fb9 Backed out changeset ad106d37ee43. The bug number in the changeset was wrong. 2012-05-15 12:03:01 +02:00
Alexandre Poirot
ce12f7fafe Bug 736046 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS r=sicking
--HG--
extra : rebase_source : 447999d425cb6a405c287fecdcfc7810676ea3b9
2012-05-10 19:58:48 +01:00
Mook
3895fd07b1 Bug 485255 - Add path prefix handler to nsIHttpServer; r=biesi 2009-03-25 15:08:18 -07:00
Jason Duell
d6ef5f87ed Bug 737164 - Make ReadInputStreamToString fallible. r=bsmedberg 2012-05-14 14:35:49 -07:00
Gavin Sharp
1bb7799846 Bug 747990: Add ability to specify the "application name" used in the user agent in application.ini, r=bsmedberg
--HG--
extra : rebase_source : fbaaa2e94c2bbaf74e001147ec014b1ffdf3502f
2012-04-23 16:09:23 -04:00
Patrick McManus
2ff7624621 bug 726366 part 2 - fix tunnel spdy over http proxy initial settings race r=honzab 2012-05-14 14:49:18 -04:00
Patrick McManus
de0097f3eb bug 752648 - fix regression with restarting due to tls intolerance r=honzab
--HG--
extra : rebase_source : 8155ae4c221df4c5931816fb8773123cc37dd148
2012-05-14 13:25:28 -04:00
Honza Bambas
b58db907db Bug 748240 - view-source: doesn't load HTML from AppCache, r=bz 2012-05-12 11:42:20 +02:00
Jason Duell
c874883aa1 Backed out changeset a88c34de5d01 2012-05-11 14:32:58 -07:00
Jason Duell
1cf77fae9d Bug 737164. Make ReadInputStreamToString fallible. r=bsmedberg 2012-05-11 14:16:09 -07:00
Matt Brubeck
60b5d7f292 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Vivien Nicolas
0752696463 Bug 722197 - Add a preference to map some domain names to localhost r=mcmanus 2012-05-11 12:59:19 -07:00
Fabrice Desré
5397f4846a Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Brian R. Bondy
1d10d8833a Bug 753813 - Cache is disabled if you have too many old cache directories to delete
Bug 753813 - Cache is disabled if you have too many old cache directories to delete. r=jduell
2012-05-10 09:18:00 -07:00
Benjamin Smedberg
43508ac8e5 Bug 737164 part B - use fallible or infallible strings appropriately in necko, r=jduell
--HG--
extra : rebase_source : 5fbaa24f4483a3f0b9ffdcd96669133af0b92d56
2012-05-08 13:55:19 -04:00
Patrick McManus
4cd96ac9ae bug 752648 - backout patch for breaking cert override dialog r=backout 2012-05-10 13:11:10 -04:00
Ryan VanderMeulen
a1c0d1beb6 Backout ff1f86491512:29e94992504b due to orange. 2012-05-09 20:02:40 -04:00
Oonishi Atsushi
5615fc9ed3 Bug 282432 - Test. r=bz 2012-05-09 18:46:44 -04:00
Oonishi Atsushi
7fdeac46a5 Bug 282432 - Calling asyncOpen on a file channel should notify about file not found errors asynchronously instead of throwing from asyncOpen. r=bz 2012-05-09 18:46:12 -04:00
Ed Morley
0e6b28c1e9 Merge mozilla-central to mozilla-inbound 2012-05-09 18:09:29 +01:00
Honza Bambas
b7d22bf137 Bug 748647 - INHIBIT_PERSISTENT_CACHING was set to early, r=michal 2012-05-09 14:58:39 +02:00
Jason Duell
23fc5763a3 Bug 752675. Clarify why we don't preconnect for some cache flags. r=mcmanus 2012-05-08 18:02:31 -07:00
Jason Duell
21bba54896 Bug 752675- Improve documentation of nsIRequest::LOAD_FROM_CACHE. r=michal 2012-05-08 18:01:57 -07:00
Jason Duell
1852e76ae2 Bug 750616 - Get rid of warnings in necko on android. r=blassey 2012-05-08 17:00:12 -07:00
Gavin Sharp
008fe44520 Bug 738992: add some debug logging to try and figure out why this test fails intermittently 2012-05-08 09:45:32 -07:00
Honza Bambas
ca8751c41b Bug 715837 - Crash @ mozilla::net::HttpChannelParent::RecvMarkOfflineCacheEntryAsForeign, r=jduell 2012-05-07 13:20:21 +02:00
Patrick McManus
be04c92f52 bug 726366 - support tunneling spdy through proxies r=honzab
--HG--
extra : rebase_source : 866ba1670ae0a2023e8cae8185b1e9d12bd1aed5
2012-05-07 10:27:25 -04:00
Patrick McManus
36f1ecd09b bug 751647 - speculative connect needs to check spdy ip pooling table r=honzab 2012-05-07 09:43:46 -04:00
Geoff Lankow
26d7b4d428 Backed out changeset b4cf9833464e (bug 715837) 2012-05-07 23:42:18 +12:00
Honza Bambas
9c020d5d62 Bug 715837 - Crash @ mozilla::net::HttpChannelParent::RecvMarkOfflineCacheEntryAsForeign, r=jduell 2012-05-07 13:20:21 +02:00
Doug Turner
9ec5a09e8c Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Patrick McManus
2e902713dc bug 739522 allow parallelism for hosts that exhibit mixed spdy/http r=honzab 2012-05-03 20:32:12 -04:00
Ehsan Akhgari
1efb879ece Merge from mozilla-central 2012-05-03 17:33:52 -04:00
Brian R. Bondy
7c21b9fb8d Bug 670514 - LNK file test for Windows share security. r=bz 2012-05-03 15:23:32 -04:00
Brian R. Bondy
807e54d008 Bug 670514 - Arbitrary File + Directory read via .lnk files on Windows Share. r=bz 2012-05-03 15:23:28 -04:00
Patrick McManus
c7a42e6cda bug 749839 - apply unexpected server read test only to http pconns r=jduell 2012-05-03 09:10:11 -04:00
Kai Engert
3e746646f8 backout bug 650355, r=wtc 2012-05-03 12:38:29 +02:00
Geoff Brown
f67d699aed Bug 750817 - Do not rely on xpcomlib in netwerk xpcshell tests. r=jduell 2012-05-03 06:22:58 -04:00
Brian Nicholson
3529eb4647 Bug 746697 - Create nsApplicationCacheService to wrap nsOfflineCacheDevice. r=honzab 2012-04-30 10:57:09 -07:00
Dão Gottwald
7500ef3a26 Bug 588909 - Replace Gecko/<date> with Gecko/<version> in UA string. r=bz sr=gerv 2012-04-30 13:06:45 +02:00
julian.reschke@gmx.de
8ec547df35 Bug 693806: RFC2231/5987 encoding: charset information should be treated as authoritative. r=jduell 2012-04-29 13:40:00 -07:00
Patrick McManus
1d242ebb35 bug 749649 checked wrong pointer in SpeculativeConnect r=honzab 2012-04-27 16:18:21 -04:00
Nicholas Nethercote
43f329dbbd Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Patrick McManus
9d78d2fad5 bug 738914 - orange websocket pipeline::isdone from main thread r=jduell
--HG--
extra : rebase_source : 206a38c1a8d9bac40bacb2e9556651d83406b115
2012-04-25 22:02:12 -04:00
David Keeler
b78f828476 Bug 743429 - channelType can also be binary/octet-stream in nsObjectLoadingContent::OnStartRequest. r=joshmoz 2012-04-11 15:38:43 -07:00
Nick Hurley
eb2547b5d4 Bug 719609 - Part 2: xpcshell harness support for running the node spdy server. r=ted 2012-04-25 20:12:33 -04:00
Nick Hurley
0c15861202 Bug 719609 - Part 1: Add some basic unit tests for SPDY. r=mcmanus,ted 2012-04-25 20:12:33 -04:00
Shriram Kunchanapalli
86b1d55b6f Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Ed Morley
85d9671a40 Backout 12d1d626759c (bug 747215), 11b16556248e (bug 738484) for xpcshell failures on all platforms 2012-05-03 10:17:42 +01:00
Jason Duell
3beefc1252 Bug 747215 - Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-05-03 00:35:55 -07:00
Jason Duell
8eee3ee3f5 Bug 738484: part 2: fix missing onStartRequest calls for some failed redirects. r=mcmanus 2012-05-03 00:28:57 -07:00
Patrick McManus
5e480acc77 bug 723628 - speculative connect hint interface r=honzab sr=biesi 2012-04-25 08:54:42 -04:00
Patrick McManus
13554b7561 bug 729133 - internal necko speculative connections r=honzab
race cache I/O events against TCP/SSL connections. Also drive
unused TCP connections to the completion of their SSL handshakes is
apropos.
2012-04-25 08:54:42 -04:00
Andrew Sutherland
4953c4c4f6 Bug 717242, r=mcmanus 2012-04-25 14:50:20 +02:00
Patrick Wong
4ccd1d2fbb Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Michal Novotny
d2271848cf Bug 713203 - nsMemoryCacheDevice::mTotalSize can go negative after clearing the memory cache 2012-04-25 01:11:39 +02:00
Michal Novotny
64844ac62e Bug 745200 - nsDiskCacheStreamIO::Flush() is sometimes called without holding the cache lock 2012-04-25 01:07:06 +02:00
Patrick McManus
1bb8168714 bug 746731 - nsHttpConnection::mIdleTimeout initialization fixes r=honzab 2012-04-24 15:12:06 -04:00
Patrick McManus
09b31b5a80 bug 745379 - mistake in spdy/2 spec reversed actual priority values r=honzab 2012-04-15 13:11:23 -04:00
Patrick McManus
c38a6fdfcc bug 744788 - add httpconnmgrtick setTarget() in case of offline/online r=honzab 2012-04-13 15:47:43 -04:00
Michal Novotny
e733ddbd8d Bug 691108 - Make sure that no entry can be bound to the disk cache when nsDiskCacheDevice::ClearDiskCache() is in progress 2012-04-12 18:27:38 +02:00
Michal Novotny
bba2343bce Bug 673543 - ensure that no entry is activated while the main thread is blocked by SyncWithCacheIOThread() 2012-04-12 18:24:57 +02:00
Ms2ger
4af44f872a Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
Jason Duell
6fbcd1727e Bug 712191 - Clean up websocket close codes and abort logic. r?mcmanus 2012-04-11 13:20:00 -07:00
Jason Duell
ddb657b32d Bug 738484 - Handle Location: that won't parse to valid URI. r=mcmanus 2012-04-11 13:26:23 -07:00
Patrick McManus
fd122871ee bug 743747: fix landing with 603514 r=honzab 2012-04-11 13:49:32 -04:00
Patrick McManus
26d127268f bug 743587 Intermittent Linux talos crash [@ nsHttpConnection::CloseTransaction] r=honzab 2012-04-11 13:11:10 -04:00
Patrick McManus
607863247f bug 738812 timer serviced after thread exit nsHttpConnectionMgr::ReadTimeoutTick r=honzab 2012-04-11 13:11:09 -04:00
Jason Duell
782d6e31be Bug 742174 - Allow empty Location header. r=mcmanus 2012-04-09 16:50:35 -07:00
Patrick McManus
85c5493dfe bug 742935: fix landing problem with 717759 r=honzab 2012-04-09 10:22:07 -04:00
Patrick McManus
98241f9023 bug 742935: fix landing problem with 717350 r=honzab
--HG--
rename : netwerk/test/unit/test_mismatch_lm.js => netwerk/test/unit/test_mismatch_last-modified.js
2012-04-09 10:21:28 -04:00
Patrick McManus
b1ee77a7cf bug 742935: fix landing problem with 603512 r=honzab 2012-04-09 10:21:17 -04:00
Ben Bucksch
392986055f #pragma O0 fails on GCC 4.4 with an Internal Compiler Error. -- bug 621446, r=honzab
This pragma was only to investigate another crash on Android, but breaks compile
on g++ 4.4 64bit, e.g. on Ubuntu 10.04 64bit.
Thus, enable that pragma only on Android.
2012-04-09 11:11:53 +02:00
Marco Bonardo
3b4530759b Bug 737841 - Part 3: remove no more useful redirectsMode query option.
r=dietrich rs=gavin

--HG--
rename : toolkit/components/places/tests/queries/test_redirectsMode.js => toolkit/components/places/tests/queries/test_redirects.js
2012-04-07 01:17:53 +02:00
Jason Duell
d8e747c9ba Bug 705796 - telemetry data on how often cache is corrupt at startup. r=michal 2012-04-06 13:10:32 -07:00
Brian Smith
b8dc15920a Bug 743076 - Suppress warning warning C4355: 'this' : used in base member initializer list in HttpChannelChild and FTPChannelChild, r=cbiesinger 2012-04-05 00:03:14 -07:00
Ms2ger
67cc85db28 Backout bug 742805, 742778, 742775, 740974, 742765, 742761, 742092, 722197 for leaks. 2012-04-06 13:10:30 +02:00
Vivien Nicolas
452d6c8f14 Bug 722197 - Add a preference to map some domain names to localhost. r=mcmanus 2012-04-06 03:12:18 -07:00
Brian Smith
a3d5f1de54 Bug 742610 - Remove opportunistic caching support from nsHttpChannel, r=honzab
--HG--
extra : source : 8b98023b89ddef6e7b0bbed25463c68142877d8e
2012-04-05 00:14:35 -07:00
Patrick McManus
8c7a832ca8 bug 742827 - fix problem with landing of bug 671591 r=honzab 2012-04-05 18:37:57 -04:00
Daniel Holbert
9b5846b3dc backout 118c07dc56f9 (bug 742179) for windows build bustage 2012-04-05 10:56:10 -07:00
Doug Turner
18e6967fd4 Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Brian Smith
7c1dc6513b Bug 736903: nsHttpChannel wraps the aOffset value it passes to its stream listener instead of clamping it, r=cbiesinger
--HG--
extra : rebase_source : 28bc8bdddea0cac6a41482920d059b523197ef03
2012-04-04 18:57:22 -07:00
Brian Smith
c948018118 Bug 736895: Suppress warning warning C4355: 'this' : used in base member initializer list in nsHttpChannel::nsHttpChannel, r=cbiesinger
--HG--
extra : rebase_source : bbcacf34a97671cb4750888a2468f6563c52b99a
2012-04-04 18:55:21 -07:00
Brian Smith
858c62a075 Bug 736887: Fix compiler warning in nsHttpChannel.cpp: warning C4244: 'argument' : conversion from 'double' to 'PRTime', possible loss of data, r=cbiesinger
--HG--
extra : rebase_source : 7c100821353b77133108e08f6bf0fd53195c0f9a
2012-04-04 18:54:03 -07:00
Patrick McManus
e4de00550d bug 739023 nightly crash in nshttpchannel::OnDataAvailable() from Restart r=honzab
--HG--
extra : rebase_source : ccb196fc38394d9ef5e0a4bdf51ea714a57e7224
2012-04-04 21:19:20 -04:00
Patrick McManus
41f8705a3e bug 741056 - nightly crash https sites with authenticated proxy r=honzab 2012-04-04 09:39:21 -04:00
Veeraya Pupatwibul
344b2b1753 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Ryan VanderMeulen
503ea93a8c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Patrick McManus
aa9ab25187 bug 739617 - cannot upload large files r=honzab
--HG--
extra : rebase_source : 5ea85a021233cf79a539980efc859a2d5372fe53
2012-04-02 20:36:11 -04:00
Ryan VanderMeulen
d72a2f5230 Backout bug 674728 part 3 due to missing reviews. 2012-03-31 18:18:08 -04:00
Sinker Li
84ddddcba8 Bug 674728 - Part 3: Evict cache asynchronized. r=honzab 2012-03-30 20:52:07 -04:00
Sinker Li
c2f379dfff Bug 674728 - Part 2: Testcase for pinned application caches. r=honzab 2012-03-30 20:52:07 -04:00
Sinker Li
a861ebdc6c Bug 674728 - Part 1: Pinned apps get higher priority for cache. r=honzab 2012-03-30 20:52:06 -04:00
Nick Hurley
729c70c97b bug 712914 - add some sanity checking when (de)serializing security info in the disk cache. r=michal 2012-03-30 11:21:01 +02:00
Patrick McManus
50ccab6641 Bug 739023 - Disabling the Restart-in-progess logic temporarily since suspected of causing crashes, r=honzab 2012-03-30 00:40:42 +02:00
Michal Novotny
8620563b3e Bug 649194 - Abort when the cache IO thread can't be created 2012-03-27 10:20:54 +02:00
Michael Wu
dd137e4742 Bug 737196 - Make camera code build on gonk-ics, r=cjones 2012-03-23 15:45:47 -04:00
Ms2ger
52ff874c0a No bug - Remove always-true comparison. 2012-03-24 09:18:09 +01:00
Patrick McManus
07663a6a1e bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab 2012-03-22 19:39:32 -04:00
Patrick McManus
38d01f9f70 bug 717350 doom cache entry on last-modified mismatch r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
ac5baa09d5 bug 671591 - restart partial http transaction (in progress) r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
f9c663dd09 bug 603514 - http stalled read detection r=honzab
When a connection that involves a pipelined transaction has been stalled (i.e.
idle with an open transaction, not an idle persistent connection) for a
second move any transactions that are pipelined after the current one onto
different connections (and implicitly close this connection when done with the
current transaction).

when it has been stalled for 10 seconds (pref configurable), cancel the current
transaction itself too - depending on its state it can hopefully be restarted
on a clean connection.
2012-03-22 19:39:31 -04:00
Patrick McManus
fcec57856d bug 603512 - large objects block pipelines r=honzab
the type and state patch tries hard not to form pipelines behind resources that
could become head of line blockers. But of course that requires the ability to
predict the future, and won't be perfect.

This patch reacts to a transaction that has a large response body (defined by
either a large content-length header or actually reading a large number of
chunked bytes) by cancelling any transactions that have been pipelined down the
same connection and rescheduling them elsewhere. It also changes the type of
the connection to "solo", which prevents new transactions from being pipelined
onto this one and provides class-specific negative feedback to the pipeline
manager so that near-future requests to the same host of the same type (e.g.
general) will not be pipelined but other types (e.g. img or js/css) can still
do that.

Content-Length is ideal, because it allows us to identify the problem so early.
But even actually reading the document for a fairly long time gives it a fairly
high probability of not ending soon. (i.e. long document sizes are spread over
a larger range than small ones. duh.)

The pref network.http.pipelining.maxsize controls the threshold. I set the
default at 300KB, which is roughly the bandwidth delay product of a 2mbit 120ms
rtt connection and 1 rtt is mostly what you are giving up by canceling it on
one connection and sending it on another. (modulo maybe needing a handshake).
2012-03-22 19:39:31 -04:00
Patrick McManus
9d93bb408b bug 665885 respect keepalive: "max=" attribute r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
a991ee2ac4 bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
5090fe4d7b bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
e79097d459 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
44e6aac1f5 bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : 87370228074eaff2615b8dcef9b3c0c9b919b3c3
2012-03-22 19:39:31 -04:00
Patrick McManus
0c04fe619d bug 447866 - patch pre.1 for empty nsHttpPipeline::TakeSubTransactions r=honzab
--HG--
extra : rebase_source : 5c21007525883fc74dc70332cf74d8d0bacd9147
2012-03-22 19:39:28 -04:00
Michal Novotny
6251530d71 Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously 2012-03-22 23:54:20 +01:00
Michal Novotny
db5e84d42d Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel::OpenOfflineCacheEntryForWriting() 2012-03-22 23:53:55 +01:00
Michal Novotny
19e7c0e85c Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel when flag LOAD_BYPASS_LOCAL_CACHE_IF_BUSY is set 2012-03-22 23:53:10 +01:00
Henri Sivonen
31192f4b01 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Jim Mathies
b77ab70c98 Bug 737986 - win8 dev kit fixup for win wifi includes, r=dougt 2012-03-22 09:18:43 -05:00
julian.reschke@gmx.de
cb943f718a Bug 714302: add suport for HTTP status code 308 r=mcmanus
--HG--
extra : rebase_source : 2e4a46ac5ebe89a36fb4b12b1985d07d674db5e8
2012-03-21 16:13:42 -04:00
julian.reschke@gmx.de
5510563e68 Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order. r=jduell 2012-03-20 14:08:30 -07:00
Matt Brubeck
40f3f77d22 Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Patrick McManus
4f0fd68fcb bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab
--HG--
extra : rebase_source : cb9795b5442102a777602f59c225ab9572e06cea
2012-03-20 13:11:32 -04:00
Patrick McManus
b4527a1fee bug 717350 doom cache entry on last-modified mismatch r=honzab
--HG--
extra : rebase_source : 5c8692c94bf7e5dcb2d381a85e06bddbabffe22c
2012-03-20 13:11:32 -04:00
Patrick McManus
5f20e88e8c bug 671591 - restart partial http transaction (in progress) r=honzab
--HG--
extra : rebase_source : 9f71e1803e25c10f6be5f48f324eb47fa8d707c3
2012-03-20 13:11:32 -04:00
Patrick McManus
33df1770ee bug 603514 - http stalled read detection r=honzab
When a connection that involves a pipelined transaction has been stalled (i.e.
idle with an open transaction, not an idle persistent connection) for a
second move any transactions that are pipelined after the current one onto
different connections (and implicitly close this connection when done with the
current transaction).

when it has been stalled for 10 seconds (pref configurable), cancel the current
transaction itself too - depending on its state it can hopefully be restarted
on a clean connection.

--HG--
extra : rebase_source : 58377c9eab2f8a81b7a2d3b9a5f12e1134da4031
2012-03-20 13:11:32 -04:00
Patrick McManus
7bb8d667c5 bug 603512 - large objects block pipelines r=honzab
the type and state patch tries hard not to form pipelines behind resources that
could become head of line blockers. But of course that requires the ability to
predict the future, and won't be perfect.

This patch reacts to a transaction that has a large response body (defined by
either a large content-length header or actually reading a large number of
chunked bytes) by cancelling any transactions that have been pipelined down the
same connection and rescheduling them elsewhere. It also changes the type of
the connection to "solo", which prevents new transactions from being pipelined
onto this one and provides class-specific negative feedback to the pipeline
manager so that near-future requests to the same host of the same type (e.g.
general) will not be pipelined but other types (e.g. img or js/css) can still
do that.

Content-Length is ideal, because it allows us to identify the problem so early.
But even actually reading the document for a fairly long time gives it a fairly
high probability of not ending soon. (i.e. long document sizes are spread over
a larger range than small ones. duh.)

The pref network.http.pipelining.maxsize controls the threshold. I set the
default at 300KB, which is roughly the bandwidth delay product of a 2mbit 120ms
rtt connection and 1 rtt is mostly what you are giving up by canceling it on
one connection and sending it on another. (modulo maybe needing a handshake).

--HG--
extra : rebase_source : ebc44f8dfc3fa7bcee613ff3b74269d908ceac51
2012-03-20 13:11:32 -04:00
Patrick McManus
2a95fe8c89 bug 665885 respect keepalive: "max=" attribute r=honzab
--HG--
extra : rebase_source : ce4009c19bb786388338778d594ca8038a4398c1
2012-03-20 13:11:32 -04:00
Patrick McManus
cb1e7c1f50 bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab
--HG--
extra : rebase_source : 94c50c125fc66c9d5b4389e20b0187ee40c2e315
2012-03-20 13:11:32 -04:00
Patrick McManus
28c3c87c12 bug 599164 pipeline with type and state r=honzab
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Patrick McManus
92aaf5d2fc bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab
--HG--
extra : rebase_source : 26243e1af9e0554553520dae435cc4dcfd551746
2012-03-20 13:11:32 -04:00
Patrick McManus
0fb95ce9a6 bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : e927c5961b2f6c79c1aa73897900e95ed3f286c5
2012-03-20 13:11:32 -04:00
Gervase Markham
55cdd1d821 Bug 716607 - Add .pm, .wf, .yt to PSL. r=pkasting. 2012-03-20 15:04:40 +00:00
Phil Ringnalda
20a51706b5 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-17 16:57:05 -07:00
Chris Jones
bd2a374d8d Bug 736778: Work around probable compiler bug breaking DEBUG builds of GonkCaptureProvider. r=fabrice (npotb) 2012-03-17 14:42:24 -07:00
Jason Duell
6f6fea1c3a Backed out changeset cd5ac132e763 2012-03-15 23:36:01 -07:00
Jason Duell
5f425f90fa Backed out changeset cd5ac132e763 2012-03-15 23:35:51 -07:00
Jason Duell
c155c57334 Backed out changeset 5aaec7f808b6 2012-03-15 20:56:23 -07:00
Jason Duell
933e449701 Backed out changeset 5aaec7f808b6 2012-03-15 20:55:44 -07:00
John Daggett
f6d4d913cf Bug 512566. Changes based on review comments. r=bz,jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
498718a3eb Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz 2012-03-16 12:31:01 +09:00
Jason Duell
a9a1ab5d46 Bug 664163: I will back this out when xpcshell test_traceable.js fails eventually. r=jduell 2012-03-15 18:54:58 -07:00
julian.reschke@gmx.de
be32749df7 Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order r=jduell 2012-03-04 14:12:00 -08:00
Jason Duell
363ad0c493 Bug 648878 - I will backout: investigating inbound-only failure r=jduell 2012-03-15 13:00:20 -07:00
Jason Duell
34ca2b0ca5 Backed out c9265ada6f40 2012-03-15 15:05:41 -07:00
Jason Duell
0b3384a3d3 Backed out changeset c9265ada6f40 2012-03-15 15:05:22 -07:00