Commit Graph

87 Commits

Author SHA1 Message Date
Patrick McManus
ec8d4c7746 bug 760608 alternatve 1 preconnect problem with SSL r=honzab 2012-06-06 15:47:45 -04:00
Patrick McManus
61bdae0d6f bug 757882 replace 250+ lines of redundant nsAHttpConnection implementations with macros r=jduell 2012-05-25 17:56:41 -04:00
Patrick McManus
fada1ab692 bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.h => netwerk/protocol/http/SpdyStream2.h
2012-05-25 17:37:01 -04:00
Josh Matthews
1fe7626c62 Bug 722845 - Part 1: Add private browsing information to HTTP channels. r=jduell,mayhemer 2012-05-24 16:31:53 +01:00
Honza Bambas
543599db71 Bug 749209 - Happy Eyeballs implementation still not quite right, r=mcmanus 2012-05-22 22:12:40 +02:00
Patrick McManus
3afab11bb3 bug 756551 spdy stream index integrity checks r=honzab 2012-05-21 17:09:25 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Patrick McManus
f53058dc90 Bug 755467 SpdySession::RestrictConnections() should use conn->EverUsedSpdy() r=honzab 2012-05-15 16:31:29 -04:00
Patrick McManus
8fe5883946 bug 726366 - support tunneling spdy through proxies r=honzab
--HG--
extra : rebase_source : 866ba1670ae0a2023e8cae8185b1e9d12bd1aed5
2012-05-07 10:27:25 -04:00
Patrick McManus
b8984beedd bug 751647 - speculative connect needs to check spdy ip pooling table r=honzab 2012-05-07 09:43:46 -04:00
Patrick McManus
59035f14d4 bug 739522 allow parallelism for hosts that exhibit mixed spdy/http r=honzab 2012-05-03 20:32:12 -04:00
Patrick McManus
6473a24906 bug 738914 - orange websocket pipeline::isdone from main thread r=jduell
--HG--
extra : rebase_source : 206a38c1a8d9bac40bacb2e9556651d83406b115
2012-04-25 22:02:12 -04:00
Patrick McManus
cdc92cbfa8 bug 729133 - internal necko speculative connections r=honzab
race cache I/O events against TCP/SSL connections. Also drive
unused TCP connections to the completion of their SSL handshakes is
apropos.
2012-04-25 08:54:42 -04:00
Patrick McManus
652e0400e5 bug 744788 - add httpconnmgrtick setTarget() in case of offline/online r=honzab 2012-04-13 15:47:43 -04:00
Patrick McManus
c1a33ecaf0 bug 738812 timer serviced after thread exit nsHttpConnectionMgr::ReadTimeoutTick r=honzab 2012-04-11 13:11:09 -04:00
Patrick McManus
46695bea53 bug 742935: fix landing problem with 717759 r=honzab 2012-04-09 10:22:07 -04:00
Patrick McManus
a7669f6540 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
b42fe35654 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
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
665466cf6f bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab 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
2f6e970bde bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : 87370228074eaff2615b8dcef9b3c0c9b919b3c3
2012-03-22 19:39:31 -04:00
Patrick McManus
3060ca04b8 bug 735552 - wrong assert on shutdown in nsHttpConnectionMgr::ReportSpdyConnection r=honzab
--HG--
extra : rebase_source : 8baf5fbae8d9ad8196fd699191c0013f7ea8f424
2012-03-15 00:03:04 -04:00
Nathan Froyd
4cebb315f0 Bug 700659 - Slay nsHashSets in netwerk/protocol. r=mcmanus 2012-02-27 11:20:29 -05:00
Geoff Lankow
e75048d315 Backed out changeset f65247c7647a (bug 729133) 2012-02-26 13:50:34 +13:00
Patrick McManus
fe7653eb59 bug 729133 speculative connections do full ssl and happen before cache lookup 2012-02-25 17:07:52 -05: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
Patrick McManus
c05ba5fb6e bug 728113 - spdy ping to keepalive nat timeouts 1/2 tick infrastructure r=honzab 2012-02-23 20:56:57 -05:00
Patrick McManus
b67c1b14d9 bug 708415 spdy code review of nshttp* r=honzab 2012-01-26 00:15:26 -05:00
Patrick McManus
20e2e8cff8 bug 708415 spdysession review comments r=honzab 2012-01-26 00:15:26 -05:00
Patrick McManus
2d124278c9 bug 528288 - reland spdy after libxul weightloss a=khuey CLOSED TREE 2011-12-13 10:55:50 -05:00
Ed Morley
160bed2536 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
fd6ff3ed50 bug 707173 - spdy telemetry for connection management r=honzab 2011-12-08 12:09:46 -05:00
Patrick McManus
c213fb48f7 Bug 707662 - spdy null deref halfopen-transportstatus r=honzab 2011-12-06 09:43:09 -05:00
Patrick McManus
da9a5434a6 bug 528288 spdy - nsisslsocketcontrol::mayjoinconnection() r=honzab r=bsmith sr=honzab sr=biesi
patch 17
2011-12-02 10:28:57 -05:00
Patrick McManus
2e74f3e2e2 bug 528288 - spdy. Cleanups involving host coalescing r=honzab
patch 14

fixes 666028
2011-12-02 10:28:57 -05:00
Patrick McManus
7f6ed2a270 bug 528288 spdy - when coalescing get ip from nsISocket instead of dns lookup r=honzab
patch 11
2011-12-02 10:28:57 -05:00
Patrick McManus
1d433105df bug 528288 spdy - when coalescing hosts use anonymous flag as part of hash key r=honzab
patch 10
2011-12-02 10:28:57 -05:00
Patrick McManus
86482de5c9 bug 528288 spdy - only coalesce (i.e. ip pool) hostnames with compatible ssl certs sr=biesi r=honzab r=bsmith
patch 9
2011-12-02 10:28:57 -05:00
Patrick McManus
86b2cf3d72 bug 528288 spdy - provide a pref to control alternate-protocol support r=honzab
patch 8
2011-12-02 10:28:57 -05:00
Patrick McManus
eeb973822d bug 528288 - HTTP Alternate-Protocol header for transitioning from http to spdy r=honzab
patch 2
2011-12-02 10:28:57 -05:00
Patrick McManus
ce94c7ff4d bug 528222 Basic SPDY web transport support. r=honzab r=bsmith sr=biesi
patch 0
2011-12-02 10:28:56 -05:00
Patrick McManus
d7143b1bbe bug 671875 pipeline transport event fixups r=honzab 2011-12-01 09:19:41 -05:00
Honza Bambas
b139dc7139 Bug 700402 - ABORT: syntimer not null, creting SYN retry timer after connection manager shutdown, r=mcmanus 2011-11-08 11:56:46 +01:00
Honza Bambas
ea0cc7b880 Bug 684893 - part1: Start backup TCP SYN timer on primary TCP connection start, r=mcmanus 2011-11-02 17:18:53 +01:00
Patrick McManus
42e6a92cb5 bug 692260 - pr_poll limit autodiscovery for windows r=jduell
--HG--
extra : rebase_source : dc9b024b4004e0a4025e843e94e046b4dd69dca9
2011-10-25 11:36:49 -04:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
b542efd4e6 Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg 2011-09-16 16:22:44 -04:00
Masatoshi Kimura
aae0d71ffc Bug 679090 - Disable IPv6 for backup connections to workaround problems about broken IPv6 connectivity; f=mcmanus r=biesi 2011-08-27 11:49:40 +01:00