Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
Patrick McManus fcec57856d 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 7e7f2c6cf8 bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-27 10:32:09 -05:00
Geoff Lankow ae97a5d379 Backed out changeset 7dce5c5c9654 (bug 729736) 2012-02-26 13:50:37 +13:00
Patrick McManus 4064a997c5 bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-25 17:07:51 -05:00
Patrick McManus 4d7255eadc bug 728113 spdy ping to keepalive nat timeouts 2/2 spdy ping r=honzab 2012-02-23 20:58:43 -05:00
Patrick McManus 038672981b bug 728113 - spdy ping to keepalive nat timeouts 1/2 tick infrastructure r=honzab 2012-02-23 20:56:57 -05:00
Patrick McManus e9dba224a2 bug 727855 spdy: rst streams instead of sessions on some errors r=honzab 2012-02-19 14:28:58 -05:00
Patrick McManus 43eaf5e65c bug 708415 spdy make stream frame writes to session atomic r=honzab 2012-01-26 00:15:26 -05:00
Patrick McManus 70c29ca8a9 bug 708415 spdysession review comments r=honzab 2012-01-26 00:15:26 -05:00
Ekanan Ketunuti a0100eeb22 Bug 714741 - Fix the spelling of the comment in SpdySession.h. r=mcmanus 2012-01-03 15:41:55 +07:00
Patrick McManus aa343b934b bug 528288 - reland spdy after libxul weightloss a=khuey CLOSED TREE 2011-12-13 10:55:50 -05:00
Ed Morley 8d3d1667ec Backout SPDY to keep us under the MSVC virtual address space limit during win PGO builds (bug 709193)
Backs out 952d14a9e508 (bug 707173), c170c678c9ac (bug 708305), 0a5f66d5d8e4 (bug 707662), 3204b70435fe (bug 706236) and the main landing range 48807fde0339:0bd45ead1676 (bug 528288).
2011-12-10 22:36:26 +00:00
Patrick McManus 3eed158c7e bug 528288 spdy - logging enhancements r=honzab
patch 6
2011-12-02 10:28:57 -05:00
Patrick McManus bad3981a7f bug 528222 Basic SPDY web transport support. r=honzab r=bsmith sr=biesi
patch 0
2011-12-02 10:28:56 -05:00