Commit Graph

3180 Commits

Author SHA1 Message Date
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
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
Avi Halachmi
55fabcc99e Bug 736251 - Change scrolling duration to 400ms to make it feel more responsive. r=roc, ui-r=limi 2012-03-21 20:02:50 -04:00
Pranav Ravichandran
c6ac0d8892 Bug 535594 - Fix/Clean-up 'security.enable_java' preference references. r=bsmedberg 2012-03-21 19:52:23 -04:00
Serge Gautherie
e3fab38561 Bug 735573. (Av1) Document UseDefaultPrefFile() and fix its nsresult value. r=bsmedberg. 2012-03-23 02:13:20 +01:00
Vladan Djeric
eeb5045e66 Bug 722368 - Report slow SQL created from dynamic strings to Telemetry. r=taras 2012-03-21 13:26:48 -04:00
Jonathan Kew
c9e88ed13d bug 721719 - add more ICS fonts to the default Android prefs. r=jdaggett 2012-03-17 09:39:09 +00:00
Gervase Markham
d3fa5eef7e Bug 747871 - add .fr, .re, .pm, .tf, .yt and .wf to IDN TLD whitelist. 2012-04-24 17:16:08 +01:00
Marco Bonardo
ff249f47c5 Merge inbound and central 2012-03-16 13:42:16 +01:00
Masayuki Nakano
b35c0b024f Bug 728103 part.1 Change modifier for HTML accesskey from Control to Control + Option r=smichaud+smaug+limi, ui-review=limi 2012-03-16 15:29:14 +09:00
Ed Morley
efdc9a5382 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Brian R. Bondy
4e0c08fd8b Bug 735784 - Workaround for 13.0a1 users who are getting version downgrade errors. r=rstrong 2012-03-14 22:42:42 -04:00
Justin Lebar
3d35bc9539 Bug 735877 - Update syntax hints in pref files to reflect the fact that you can't use computed values (e.g. 50 * 1024). r=mossop 2012-03-14 18:49:17 -04:00
Benoit Girard
cc14d46fb2 Bug 735763 - Turn off FPS by default. r=kats 2012-03-14 14:02:07 -04:00
Kartikaya Gupta
314843ddd5 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Benoit Girard
188ca471f6 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Bill McCloskey
28982ab9a7 Back out 85ffbb752398 and 8cae4bde9534 (bug 728686 and bug 734946) due to possible leaks 2012-03-12 22:43:43 -07:00
Avi Halachmi
3c59129fb9 Bug 206438 - Smooth scrolling should use the 'smoothwheel' algorithm. r=roc ui-r=limi 2012-03-11 13:55:00 -07:00
Kartikaya Gupta
43952711c3 Merge m-c -> maple to pick up b159cd73c215 2012-03-10 11:21:26 -05:00
Benoit Girard
83961041e7 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Benoit Girard
479f0b2fb1 Merge mc->Maple 2012-03-07 11:10:45 -05:00
John Daggett
e84c096093 Bug 705594. Add pref to force global cmap-based font fallback. r=roc 2012-03-09 11:05:40 +09:00
John Daggett
4514064c4d Bug 705594. Update Unicode range and pref font lists to avoid system fallback. r=roc 2012-03-09 11:05:05 +09:00
Benoit Girard
d3dd25a616 Merge latest green changeset from mozilla-central to maple
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
6345ad9c43 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Benoit Girard
02e577f6ff Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Benoit Girard
3daa99ec38 Merge mc->maple 2012-03-01 10:44:44 -05:00
Matt Brubeck
76df83ffd7 Merge last green changeset from inbound to mozilla-central 2012-02-29 10:47:38 -08:00
Kartikaya Gupta
8fd5e0c78c Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Brian R. Bondy
7e5d6bc2dc Bug 730862 - Disable signmar by default and provide an option to enable it. r=rstrong. sr=khuey 2012-02-28 13:58:42 -05:00
Kartikaya Gupta
bb76282045 Merge m-c 2012-02-27 15:06:35 -05:00
Doug Turner
63f2081ca1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Justin Lebar
8752f15ad1 Bug 733495 - Monitor ullAvailPageFile (available commit space) on Windows, and fire a low-memory event when it gets low. r=bsmedberg 2012-03-08 14:44:20 -05:00
Justin Lebar
421d17bf38 Back out changeset b2ac02d89f41 (wrong bug number; was 733496, should have been 733495). 2012-03-08 14:43:09 -05:00
Justin Lebar
09de20e129 Bug 733496 - Monitor ullAvailPageFile (available commit space) on Windows, and fire a low-memory event when it gets low. r=bsmedberg 2012-03-08 14:27:14 -05:00
Alex Keybl
1a0cdb0fb5 Backing out 6f079f13c06a for bug 725869 a=me 2012-02-22 12:13:12 -08:00
Doug Turner
476b362925 merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Rob Campbell
eb749cad65 merge fx-team to m-c 2012-02-22 12:47:22 -04:00
Bill McCloskey
f8fb3cf6f0 Bug 734946 - Disable incremental GC for Firefox 13 (r=dmandelin) 2012-03-12 18:36:27 -07:00
Bill McCloskey
1d74f1a56c Bug 734946 - Disable incremental GC for Firefox 13 (r=dmandelin) 2012-03-12 18:36:27 -07:00
Matt Brubeck
a6a66f92bd Merge from mozilla-central to mozilla-inbound 2012-03-12 17:38:23 -07:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Jonathan Griffin
bf1360834c Bug 734314 - "Unwrapped getBoolPref call causes dbg-server.jsm to fail to load in B2G" [r=past] 2012-03-09 19:34:00 +02:00
Brian R. Bondy
f054840ac4 Bug 730792 - Enable new security checks for updates without the service. r=rstrong 2012-03-05 15:47:46 -05:00
George Wright
5e20a8f8fc Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel 2012-02-18 21:23:06 -05:00
Brad Lassey
34aa551009 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Lebar
e1a9198917 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
aceman
a39be24188 Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan 2012-03-02 17:23:01 -05:00
Chris Illias
bbffe595e1 Bug 701322: Remove comment pointing to stale URL from prefs.js. r=gavin 2012-02-15 01:16:44 -08:00
Nathan Froyd
d0a445d90c Bug 717061 - add tests for uncompressed->gzip conversion; r=mossop 2012-02-13 12:05:16 -08:00
Benoit Girard
2f35d690b6 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Jared Wein
1c58f1711c Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances. 2012-02-20 11:24:36 -05:00
Patrick McManus
0011224491 bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-27 10:32:09 -05:00
Frédéric Wang
066d1dc1f2 Bug 732834 - Use MathJax fonts in mathematical text part 2. r=karlt 2012-03-09 20:52:14 -05:00
Justin Lebar
0ef78736cc Back out bug 731419 and bug 732820 due to orange.
Backs out changesets 55e63a03ccad 45d2f5e2fe31 f78900832562 6184b50776fc 35d8045aeadd 42e887fec034.
2012-03-09 18:32:42 -05:00
Justin Lebar
255839214e Bug 732820 - Part 2: Cap the amount of discardable image data we'll willingly keep around. r=joe 2012-03-09 17:21:01 -05:00
Jonathan Kew
2e0a78df19 bug 733512 - update freetype to v2.4.9. rs=dougt 2012-03-09 16:38:09 +00:00
Bas Schouten
8555944c17 Bug 651192 - Part 4: Allow setting different drawing models across all platforms. r=roc 2012-02-16 04:24:38 +01:00
Benoit Girard
8febee184a Add debug code, unapply me later 2012-02-02 16:34:23 -05:00
Makoto Kato
a3974476c1 Bug 716233 - Use Roboto as default on ICS. r=jdaggett 2012-01-31 20:37:03 +09:00
Patrick McManus
3b22728106 bug 728113 spdy ping to keepalive nat timeouts 2/2 spdy ping r=honzab 2012-02-23 20:58:43 -05:00
Ed Morley
ef395cb269 Merge mozilla-central to mozilla-inbound 2012-02-23 01:03:16 +00:00
Ed Morley
d3e7abd696 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-22 22:20:54 +00:00
Dão Gottwald
18d6129d53 Backed out changeset 9a5b898000b5 2012-02-22 14:03:14 +01:00
Chris Pearce
1cc159adc4 Bug 729307 - Add full-screen-api.exit-on-deactivate pref. r=dao 2012-02-23 10:15:36 +13:00
Nathan Froyd
dc4ba00ca0 Bug 711297 - add comment reading to nsZipArchive; r=taras 2012-02-22 13:45:09 -05:00
Nathan Froyd
215d48fa39 Bug 717061 - fix uncompressed->gzip conversion in nsDeflateConverter; r=mossop 2012-01-25 18:27:48 -08:00
Jonathan Kew
cf842fedbe bug 722139 - Turn on harfbuzz shaper by default for Hebrew on all platforms. r=smontagu 2012-02-22 10:21:43 +00:00
Nathan Froyd
264db0b9cb Bug 717061 - fix uncompressed->gzip conversion in nsDeflateConverter; r=mossop 2012-01-25 18:27:48 -08:00
Sid Stamm
2f76b0b9ea bug 633773 - Use Google's HTTPS search by default; r=gavin 2012-01-06 11:35:02 -08:00
Justin Lebar
bc51699ce4 Bug 732820 - Part 2: Cap the amount of discardable image data we'll willingly keep around. r=joe
--HG--
extra : rebase_source : 013b58b9148f0fd4d7f0eb7104674d6aa63bca82
2012-03-15 16:30:41 -04:00
Tim Chien
e46aa79cfe Bug 599289 - Change zh-TW and zh-HK default fonts, r=jdaggett 2012-03-15 18:22:40 +09:00
Bill McCloskey
c6cd982f05 Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Richard van den Berg
bb6666c881 Bug 452781 - Allow specifying wildcard that matches all simple netbiosnames in network.automatic-ntlm-auth.trusted-uris, r=honzab 2012-02-17 16:24:31 +01:00
Geoff Lankow
53be83b619 Backed out changeset 7dce5c5c9654 (bug 729736) 2012-02-26 13:50:37 +13:00
Patrick McManus
ed30ba1e82 bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-25 17:07:51 -05:00
Marco Bonardo
486fa4d538 Merge last green PGO from inbound to central 2012-02-25 11:11:15 +01:00
Brian R. Bondy
f53637514f Bug 725180 - Misc libmar fixes found from tests. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
4c63ffb624 Bug 725180 - Create test suite for libmar. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
b2dfe7ca6d Bug 720688 - Ability to strip MAR signatures in libmar. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
0b140a62ba Bug 708690 - libmar enhancements for product information blocks. r=rstrong 2012-02-24 16:29:41 -05:00
Brian R. Bondy
0ed7886cd2 Bug 699700 - Add support for signing and verifying MAR files in libmar and the mar program. r=bsmith 2012-02-24 16:29:41 -05:00
Gervase Markham
2f30134655 Bug 618051 - enable IDN for .si. 2012-02-24 16:38:33 +00:00
Gervase Markham
eab4915242 Bug 704089 - add .<Srb> to IDN TLD whitelist.
--HG--
extra : rebase_source : aa573d4d6f781059259acf75a1afdd06a515b07f
2012-02-21 17:52:06 +00:00
Gervase Markham
37aefc8cc0 Bug 669138 - add .<Thai> to IDN TLD whitelist.
--HG--
extra : rebase_source : ea2575acddbbf8231052c515d2c0e5da893fcbcd
2012-02-21 17:46:28 +00:00
Georg Kahest
7cfd9ae92e Bug 664109 - add .ee to IDN TLD whitelist. r=gerv.
--HG--
extra : rebase_source : 4bc213517988924bc8d57c9d143c0a5298917788
2012-02-21 17:44:51 +00:00
Matthew Noorenberghe
ad086574ef Bug 294260 - Safe Mode: Auto detect previous start-up failure and offer to start in safe mode r=bsmedberg,Mossop
--HG--
rename : toolkit/components/startup/tests/Makefile.in => toolkit/components/startup/tests/browser/Makefile.in
extra : rebase_source : 8df6b163173362ae80832eb3667e04bb817280b3
2011-11-07 21:20:42 -08:00
Robert O'Callahan
a933f301c3 Bug 334411. Add nglayout.debug.paint_flashing to all.js. r=bas 2012-02-08 11:52:59 +13:00
Patrick McManus
88eb19733b bug 724563 network.http.spdy.enabled = true r=jduell
--HG--
extra : rebase_source : 1793638b88fa029d3d16760e5014c646bec8d7fa
2012-02-07 10:55:21 -05:00
Jon Buckley
53fcaffe40 Bug 682299 - Implement CORS support for the <video> tag. r=roc 2012-01-25 17:31:30 -05:00
Mounir Lamouri
a280e39ab5 Bug 677166 - Part 5 - Use a pref for connection.metered. r=sicking 2012-01-16 13:25:13 +01:00
Mounir Lamouri
5889593b3a Bug 677166 - Part 4 - Add a pref to disable Network API. r=sicking 2012-01-16 13:24:08 +01:00
Jeff Muizelaar
e676ecd2a4 Bug 692879. Enable Azure canvas on OS X. r=mwoodrow 2011-11-17 23:07:05 +13:00
Matt Brubeck
0dc4c17288 Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error 2012-01-17 10:08:38 -08:00