Commit Graph

90189 Commits

Author SHA1 Message Date
Patrick McManus
2c1b0520f1 bug 671591 - restart partial http transaction (in progress) r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
b42fe35654 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
f04f8c8cf1 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
6642e5f564 bug 665885 respect keepalive: "max=" attribute r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
665466cf6f bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
dd00f9250a bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
69d6b34474 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
2f6e970bde bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : 87370228074eaff2615b8dcef9b3c0c9b919b3c3
2012-03-22 19:39:31 -04:00
Patrick McManus
18371ac44a bug 447866 - patch pre.1 for empty nsHttpPipeline::TakeSubTransactions r=honzab
--HG--
extra : rebase_source : 5c21007525883fc74dc70332cf74d8d0bacd9147
2012-03-22 19:39:28 -04:00
Gavin Sharp
7b85897660 Bug 738097: fix typo in patch for bug 392188 that broke clicks on scrollbars in background windows, r=mstange 2012-03-22 17:32:23 -07:00
Brian Nicholson
89ae98ddcd Backout 017f6dd98dc0 for robocop failures 2012-03-22 17:28:13 -07:00
Wes Johnston
fce28bb468 Bug 709250 - Disable jar reader for now. 2012-03-22 17:24:30 -07:00
David Flanagan
4fdd1e074b Bug 738439 - typo in Webapps.jsm [r=fabrice] 2012-03-22 14:26:36 -07:00
Mark Banner
421fae69f0 Unit test bustage fix for apps that don't have private browsing following bug 728143. Fix incorrect brackets in if statement and a bad function name in the tests. r=bustage fix,test-only fix 2012-03-22 19:51:27 +00:00
Andreas Gal
569a76795b Use BGRX shader for RGB24 image surfaces (bug 738178, r=joe). 2012-03-22 11:37:47 -07:00
Wes Johnston
d61c61b17a Bug 709250 - Tets for jar reader. r=lucasr 2012-03-22 11:12:08 -07:00
Wes Johnston
ddf6fc4032 Bug 709250 - Add the ability to read nested jar files. r=mfinkle,lucasr 2012-03-22 11:11:49 -07:00
Wes Johnston
0d9e8d297e Bug 736311 - Set selected tab inactive when Fennec goes into the background. r=mbrubeck 2012-03-22 11:07:32 -07:00
Kartikaya Gupta
39e416f890 Bug 738326 - Buffer file writes to reduce test times. r=jmaher 2012-03-22 13:36:20 -04:00
Kartikaya Gupta
aafb5616e5 Bug 737411 - Work around problems with RGB888/RGB555 conversions and dithering in the pixel tests. r=jmaher 2012-03-22 13:35:45 -04:00
Geoff Brown
8dda642283 Bug 737411 - Robocop: update reflection references; r=kats 2012-03-22 13:35:19 -04:00
Daniel Holbert
97f4b320f3 Bug 738007: Minor code cleanup in nsCSSFrameConstructor::FlushAccumulatedBlock. r=bz 2012-03-22 10:31:19 -07:00
Ehsan Akhgari
d206b44feb Bug 737959 - Fix the startup crash with MallocStackLogging; r=bsmedberg 2012-03-22 13:18:36 -04:00
Marco Bonardo
6c788161c3 Bug 735697 - Close the old connection when switching to/from private mode. r=mak. 2012-03-22 13:02:28 -04:00
Marco Bonardo
b2e5e8a3e8 Bug 738287 - Make browser_pdfjs_main.js correctly wait for the add-ons manager API callback.
r=ttaubert
2012-03-22 17:56:28 +01:00
Ehsan Akhgari
08fb41abdd Bug 734302 - Part 4: Fix the profiling builds on Mac and Windows; r=BenWa 2012-03-22 12:36:45 -04:00
Ehsan Akhgari
ccd236979e Bug 737909 - Add a patch file to gfx/cairo; r=joe
DONTBUILD
2012-03-22 11:37:19 -04:00
Ehsan Akhgari
9bb38b7a83 Bug 737909 - Address Joe's review comment; r=joe 2012-03-22 11:32:08 -04:00
Rafael Ávila de Espíndola
2445a4546c Bug 737909 - Fix opt -Werror build with clang; r=joe 2012-03-22 11:30:08 -04:00
Marco Bonardo
ffb17ea4b7 Merge last green PGO from inbound to central 2012-03-22 13:04:29 +01:00
Pallani Kumaran
bb5dcf9e13 Bug 738160 - Fix "beause" spelling in /browser/locales/en-US/chrome/browser/browser.dtd. r=gavin 2012-03-22 17:17:19 +08:00
Ian Moody
1ea221ddf9 Bug 738233 - Fix misplaced brackets in browser_bug329212.js. r=dao 2012-03-22 13:06:20 +00:00
Kan-Ru Chen
7cce619441 Bug 738529 - Check "screen" wake lock before turning off screen. r=cjones 2012-03-23 21:50:29 +01:00
James Willcox
3cdd7a1f30 Bug 725167 - Don't reposition Android plugin views that aren't in view hierarchy r=blassey 2012-03-23 16:19:15 -04:00
Chris Lord
3b90179676 Bug 738740 - Fix handling of parameters in nsTArray::ReplaceElementAt. r=bz
Handle the parameters given to ReplaceElementAt the same way as those given to
other methods in the class. This allows removal of the & in GLContext.cpp that
was taking the address of a temporary, and causing a build error when using
clang, or when using GCC with particular parameters.
2012-03-23 19:27:25 +00:00
Benjamin Smedberg
096d77cb71 Bug 719154, remove the implementation of chained and filtered event queues now that they are no longer needed, r=jlebar
--HG--
extra : rebase_source : 54e3f130dfaf59e67974019e39bf85471b22b4bf
2012-03-23 14:45:41 -04:00
Markus Stange
af7c6dc954 Bug 733861 - Use std::ostreams for profile stringification. r=BenWa 2012-03-23 20:09:27 +01:00
Sriram Ramasubramanian
c137e56a7d Bug 738049: Using LayoutInflater.Factory improves performance. [r=mfinkle] 2012-03-23 12:00:17 -07:00
Ehsan Akhgari
6e0887f66d Backout changeset 11b6f37603ce (bug 734302) for Android bustage 2012-03-23 15:01:14 -04:00
Hub Figuière
f96c1b1020 Bug 718627 - Part 3: Make helper GetObjectOrRepresentedView() public in mozAccessible.h. r=surkov 2012-03-23 11:54:55 -07:00
Hub Figuière
097c1a221c Bug 718627 - Part 2: Expose CaretLineNumber() and GetTextBounds() from nsHyperTextAccessible. r=surkov 2012-03-23 11:54:55 -07:00
Hub Figuière
9623267e8e Bug 718627 - Part 1: Autocomplete is to be ignored. Use TextField directly. r=surkov 2012-03-23 11:54:55 -07:00
Edwin Flores
2930697827 Bug 738392 - Fix plugins not rendering inside CSS transform on Mac OSX r=roc 2012-03-23 11:21:57 -07:00
Daniel Holbert
c9fc8d1119 Bug 738705: Remove dead helper-class CompareByContentOrderComparator. r=bz 2012-03-23 11:17:33 -07:00
Neil Rashbrook
6a492894d7 Bug 737022 Re-enable strict warnings when parsing XUL r=jst 2012-03-22 08:36:36 +00:00
Nicholas Nethercote
1c90ec2f58 Bug 738153 - Remove JSScript::inlineData. r=luke.
--HG--
extra : rebase_source : f003203fbe0219735655d334192fca14cc434736
2012-03-21 23:05:23 -07:00
Ryan VanderMeulen
20596c6e7f Backout f42ea2a158e4(bug 733861) due to build bustage on all platforms. 2012-03-22 19:10:16 -04:00
Michal Novotny
fc7977fd47 Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously 2012-03-22 23:54:20 +01:00
Michal Novotny
351c4791da Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel::OpenOfflineCacheEntryForWriting() 2012-03-22 23:53:55 +01:00
Michal Novotny
df4890a620 Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel when flag LOAD_BYPASS_LOCAL_CACHE_IF_BUSY is set 2012-03-22 23:53:10 +01:00