Commit Graph

89798 Commits

Author SHA1 Message Date
Marco Bonardo
8b41ce4e56 Merge central to inbound 2012-03-23 02:02:03 +01:00
Marco Bonardo
e0389c6f8a Merge last green PGO from inbound to central 2012-03-23 01:59:29 +01:00
Patrick McManus
083437c9ff 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
31504a7ee5 bug 717350 doom cache entry on last-modified mismatch r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
bd0154c665 bug 671591 - restart partial http transaction (in progress) r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
cca184acac 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
f5c0c33db7 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
a034a9d50a bug 665885 respect keepalive: "max=" attribute r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
8d78fbf9c8 bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
15a48d8534 bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
bba26f5a30 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
afefeddb70 bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : 87370228074eaff2615b8dcef9b3c0c9b919b3c3
2012-03-22 19:39:31 -04:00
Patrick McManus
10d7ced8a4 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
025c32dbae 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
15931dd3db Backout 017f6dd98dc0 for robocop failures 2012-03-22 17:28:13 -07:00
Wes Johnston
9ccdd929f0 Bug 709250 - Disable jar reader for now. 2012-03-22 17:24:30 -07:00
David Flanagan
10e29d77c0 Bug 738439 - typo in Webapps.jsm [r=fabrice] 2012-03-22 14:26:36 -07:00
Mark Banner
da888d3e8c 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
7f4f170ffe Use BGRX shader for RGB24 image surfaces (bug 738178, r=joe). 2012-03-22 11:37:47 -07:00
Wes Johnston
62eea4b617 Bug 709250 - Tets for jar reader. r=lucasr 2012-03-22 11:12:08 -07:00
Wes Johnston
e031e53ce0 Bug 709250 - Add the ability to read nested jar files. r=mfinkle,lucasr 2012-03-22 11:11:49 -07:00
Wes Johnston
bb8ae43864 Bug 736311 - Set selected tab inactive when Fennec goes into the background. r=mbrubeck 2012-03-22 11:07:32 -07:00
Kartikaya Gupta
48552fc32a Bug 738326 - Buffer file writes to reduce test times. r=jmaher 2012-03-22 13:36:20 -04:00
Kartikaya Gupta
ca9c9af74a 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
da09399809 Bug 737411 - Robocop: update reflection references; r=kats 2012-03-22 13:35:19 -04:00
Daniel Holbert
a41e5d0dfb Bug 738007: Minor code cleanup in nsCSSFrameConstructor::FlushAccumulatedBlock. r=bz 2012-03-22 10:31:19 -07:00
Ehsan Akhgari
3939916769 Bug 737959 - Fix the startup crash with MallocStackLogging; r=bsmedberg 2012-03-22 13:18:36 -04:00
Marco Bonardo
a2f365ca6e Bug 735697 - Close the old connection when switching to/from private mode. r=mak. 2012-03-22 13:02:28 -04:00
Marco Bonardo
17e9213595 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
262609cd3f Bug 734302 - Part 4: Fix the profiling builds on Mac and Windows; r=BenWa 2012-03-22 12:36:45 -04:00
Ehsan Akhgari
e5bc80f370 Bug 737909 - Add a patch file to gfx/cairo; r=joe
DONTBUILD
2012-03-22 11:37:19 -04:00
Ehsan Akhgari
cbb5ccd3ae Bug 737909 - Address Joe's review comment; r=joe 2012-03-22 11:32:08 -04:00
Rafael Ávila de Espíndola
9f88ba1725 Bug 737909 - Fix opt -Werror build with clang; r=joe 2012-03-22 11:30:08 -04:00
Marco Bonardo
508dc27a5b Merge last green PGO from inbound to central 2012-03-22 13:04:29 +01:00
Neil Rashbrook
198703fe5f Bug 737022 Re-enable strict warnings when parsing XUL r=jst 2012-03-22 08:36:36 +00:00
Nicholas Nethercote
78439dc8b2 Bug 738153 - Remove JSScript::inlineData. r=luke.
--HG--
extra : rebase_source : f003203fbe0219735655d334192fca14cc434736
2012-03-21 23:05:23 -07:00
Ryan VanderMeulen
52ec83db25 Backout f42ea2a158e4(bug 733861) due to build bustage on all platforms. 2012-03-22 19:10:16 -04:00
Michal Novotny
2e1c0f11ff Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously 2012-03-22 23:54:20 +01:00
Michal Novotny
90373c46db Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel::OpenOfflineCacheEntryForWriting() 2012-03-22 23:53:55 +01:00
Michal Novotny
59959982fc Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel when flag LOAD_BYPASS_LOCAL_CACHE_IF_BUSY is set 2012-03-22 23:53:10 +01:00
Markus Stange
caa10cfffe Bug 733861 - Use std::ostreams for profile stringification. r=BenWa 2012-03-22 23:40:33 +01:00
Markus Stange
0c06d2b2f0 Bug 731272 - Add the current instruction to the top of the stack. r=jrmuizel 2012-03-22 23:31:56 +01:00
Markus Stange
4acb6723d2 Bug 731272 - Don't skip the topmost stack frame. r=jrmuizel 2012-03-22 23:30:37 +01:00
Wes Johnston
145bff5dd2 Bug 738421 - Close zip when done reading. r=sriram 2012-03-22 15:11:39 -07:00
Brian Nicholson
acdfb24780 Bug 725428 - Draw white background in LayerView until Gecko has painted. r=kats 2012-03-22 15:07:00 -07:00
Jeff Gilbert
0bb6ff2747 Bug 735378 - Cache temporary composite surfaces - r=bgirard 2012-03-22 15:04:25 -07:00
Wes Johnston
029003275b Bug 735912 - Use updated method name. r=bnicholson 2012-03-22 14:58:02 -07:00
Ehsan Akhgari
ace3558298 Bug 738302 - Avoid building the libunwind docs so that b2g can be built again; r=BenWa 2012-03-22 17:39:00 -04:00
Jared Wein
97a70bd4fb merge 2012-03-22 14:05:19 -07:00
Jared Wein
443e237020 Bug 730318 - Forgot to add braces to if condition. r=khuey 2012-03-22 14:03:04 -07:00