Commit Graph

89788 Commits

Author SHA1 Message Date
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
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
Jared Wein
87ff948644 Bug 734323 - Invisible plugins added to the DOM after the 'load' event will not prompt a doorhanger to appear. r=margaret 2012-03-22 13:54:06 -07:00
Jared Wein
589f9135f9 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00
Jared Wein
4750f67a6e Bug 730318 - Update dom/telephony to use the new implementation of nsTArrayToJSArray. r=bent 2012-03-22 13:53:52 -07:00
Jared Wein
a562426dc1 Bug 730318 - Opt-in activated plugins should use internal APIs to keep track of plugin activation. r=margaret 2012-03-22 13:53:44 -07:00
Andrew McCreight
49f3d44f9e Bug 732495 - clean up refcounting for nsXBLDocumentInfo creation to fix leak. r=smaug 2012-03-22 13:46:03 -07:00
Oleg Romashin
befc15b38e Bug 738137 - Try to create PBuffer offscreen context on NON-X11 builds always. r=jgilbert 2012-03-22 13:25:03 -07:00
Oleg Romashin
7250a9477e Bug 733922 - Fix Qt port compilation with --enable-skia. r=gwright 2012-03-22 13:24:57 -07:00
Oleg Romashin
00693f8670 Bug 738416 - SetHighAccuracy method is missing in Qt Location provider. r=dougt 2012-03-22 13:24:51 -07:00
Matt Brubeck
4aa468afdc Bug 736995 - Disable share command for resource: URIs [r=margaret] 2012-03-22 13:02:06 -07:00
Matt Brubeck
cc170675ac Bug 737692 - Touch-friendly styles for menulists and textboxes in add-on options [r=mfinkle] 2012-03-22 13:01:34 -07:00
Chris Jones
5138518644 Bug 738158, part 2: Set the wrap mode for cairo images. r=ajuma 2012-03-22 01:02:59 -07:00
Chris Jones
7787759b9c Bug 738158, part 1: Remove unnecessary settings from InitTexture(). UploadSurfaceToTexture() and SetFilter/ApplyFilter() do these now. r=ajuma 2012-03-22 01:02:29 -07: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