Gecko engine for Wine
Go to file
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
accessible Bug 686909 - The system suffix is for system generated events only, patch=tbsaune, capella, r=surkov 2012-03-22 21:28:25 +09:00
b2g Bug 712643 - land Marionette on m-c. r=mossop,robcee 2012-03-22 11:19:57 -04:00
browser Merge last green PGO from inbound to central 2012-03-22 13:04:29 +01:00
build Bug 738326 - Buffer file writes to reduce test times. r=jmaher 2012-03-22 13:36:20 -04:00
caps Bug 732413: make DISALLOW_INHERIT_PRINCIPAL flag passed to checkLoadURI effective even when the source principal is the system principal, r=bz 2012-03-14 11:55:47 -07:00
chrome Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part G, remove remaining uses of nsIPrefBranch2; r=bsmedberg 2012-01-18 23:23:28 +13:00
config Bug 712643 - land Marionette on m-c. r=mossop,robcee 2012-03-22 11:19:57 -04:00
content bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
db/sqlite3 Bug 719584 - Build SQLite with /O2 on Windows, since /O1 crashes in PGO. 2012-01-24 13:49:51 +01:00
dbm Bug 698552: Update to NSS 3.13.2 BETA1 (NSS_3_13_2_BETA1), r=kaie, r=honzab 2011-12-01 14:27:28 -08:00
docshell Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
dom 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
editor Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
embedding Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
extensions Bug 704394 - Add "quinoa" to the spell checking dictionary; r=ehsan 2012-03-07 12:24:51 -05:00
gfx Bug 735378 - Cache temporary composite surfaces - r=bgirard 2012-03-22 15:04:25 -07:00
hal Bug 738102 - devicemotion causes shutdown crash. r=jdm 2012-03-21 22:27:51 -07:00
image Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
intl Various fixes to multi-byte Unicode decoders. Bug 715319, r=emk 2012-03-16 13:41:41 -07:00
ipc Bug 732127 - win8 dev kit fixup for strdup call in ipctest harness, r=bbondy. 2012-03-22 09:18:47 -05:00
js 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
layout Bug 738007: Minor code cleanup in nsCSSFrameConstructor::FlushAccumulatedBlock. r=bz 2012-03-22 10:31:19 -07:00
media Bug 733598 - Remove some extraneous defines from mozpngconf.h to fix compiler warnings. r=joedrew 2012-03-08 18:48:45 -05:00
memory Bug 737084 - Do pthread_atfork in jemalloc on mac and android. r=blassey,r=khuey 2012-03-22 08:01:51 +01:00
mfbt Bug 732820 - Part 1: Add clear() to LinkedList. r=waldo 2012-03-15 16:30:41 -04:00
mobile Backout 017f6dd98dc0 for robocop failures 2012-03-22 17:28:13 -07:00
modules bug 603512 - large objects block pipelines r=honzab 2012-03-22 19:39:31 -04:00
mozglue Bug 737084 - Do pthread_atfork in jemalloc on mac and android. r=blassey,r=khuey 2012-03-22 08:01:51 +01:00
netwerk bug 603512 - large objects block pipelines r=honzab 2012-03-22 19:39:31 -04:00
nsprpub Bug 713936, Part 3: Update to NSPR 4.9 RTM (NSPR_4_9_RTM), r=kaie, a=akeybl 2012-02-17 15:03:46 -08:00
other-licenses Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
parser Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
probes
profile Bug 294260 - Safe Mode: Auto detect previous start-up failure and offer to start in safe mode r=bsmedberg,Mossop 2011-11-07 21:20:42 -08:00
rdf Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
security Bug 681937, Enhance PSM's key generation strategy with tokens/escrow, r=rrelyea 2012-03-21 23:22:15 +01:00
services Bug 735968 - PlacesUtils.history must be QI-ed before using nsPIPlacesDatabase methods. r=rnewman 2012-03-14 23:01:46 -07:00
src/test/java/org/mozilla/android/sync/repositories/domain Bug 709403 - Part 2: add TabsRecord. r=nalexander 2012-03-02 17:36:16 -08:00
startupcache bug 736978 - remove JS_FinalizeStub. r=:billm 2012-03-19 15:27:58 +01:00
storage Bug 722368 - Report slow SQL created from dynamic strings to Telemetry. r=taras 2012-03-21 13:26:48 -04:00
testing Bug 712643 - land Marionette on m-c. r=mossop,robcee 2012-03-22 11:19:57 -04:00
toolkit 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
tools Backout f42ea2a158e4(bug 733861) due to build bustage on all platforms. 2012-03-22 19:10:16 -04:00
uriloader Unescape URLs in mail subjects before passing them to ShellExecute. Bug 227268, r=bsmedberg, sr=biesi 2012-02-25 23:12:55 -08:00
view Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats 2012-01-28 16:36:23 +13:00
widget Bug 737984 - win8 dev kit fixup for win widget gesture input headers, r=bbondy. 2012-03-22 09:18:49 -05:00
xpcom Bug 737959 - Fix the startup crash with MallocStackLogging; r=bsmedberg 2012-03-22 13:18:36 -04:00
xpfe Bug 639705 (Lion Full Screen) Part 1: Initial support for fullscreenbutton in XUL [r=enn] 2012-03-20 16:21:14 -07:00
xulrunner Bug 732976 - SingleSourceFactory should generate checksums file. r=ted 2012-03-12 17:48:40 -04:00
.gitignore Bug 726573: Change .hgignore and .gitignore to ignore Eclipse IDE project files in subdirectories, too. r=khuey 2012-02-13 14:36:16 -08:00
.hgignore Bug 726573: Change .hgignore and .gitignore to ignore Eclipse IDE project files in subdirectories, too. r=khuey 2012-02-13 14:36:16 -08:00
.hgtags Added tag FIREFOX_AURORA_13_BASE for changeset b6627f28b7ec 2012-03-13 13:33:44 -07:00
aclocal.m4 Bug 733773 - Reset default values for thumb, float-abi, etc. when --with-arch is specified. r=ted 2012-03-13 09:47:03 +01:00
allmakefiles.sh Bug 712643 - land Marionette on m-c. r=mossop,robcee 2012-03-22 11:19:57 -04:00
client.mk Bug 715048 - Don't re-run configure if .mozconfig.mk changes. r=khuey. 2012-01-04 20:43:30 -08:00
client.py Bug 699905 - Add update_nssckbi to client.py; r=bsmith r=wtc 2012-02-19 11:58:23 +00:00
configure.in Bug 712643 - land Marionette on m-c. r=mossop,robcee 2012-03-22 11:19:57 -04:00
LEGAL
LICENSE
Makefile.in Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan 2011-12-28 08:24:02 +01:00
README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/