Commit Graph

87 Commits

Author SHA1 Message Date
Patrick McManus
298b544bde bug 760608 alternatve 1 preconnect problem with SSL r=honzab 2012-06-06 15:47:45 -04:00
Patrick McManus
514d66787e bug 757882 replace 250+ lines of redundant nsAHttpConnection implementations with macros r=jduell 2012-05-25 17:56:41 -04:00
Patrick McManus
5ce388e01a 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
bd9442aa8b Bug 722845 - Part 1: Add private browsing information to HTTP channels. r=jduell,mayhemer 2012-05-24 16:31:53 +01:00
Honza Bambas
dbe9071082 Bug 749209 - Happy Eyeballs implementation still not quite right, r=mcmanus 2012-05-22 22:12:40 +02:00
Patrick McManus
1a735bdd25 bug 756551 spdy stream index integrity checks r=honzab 2012-05-21 17:09:25 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Patrick McManus
d3f7655e92 Bug 755467 SpdySession::RestrictConnections() should use conn->EverUsedSpdy() r=honzab 2012-05-15 16:31:29 -04:00
Patrick McManus
21f73776b7 bug 726366 - support tunneling spdy through proxies r=honzab
--HG--
extra : rebase_source : 866ba1670ae0a2023e8cae8185b1e9d12bd1aed5
2012-05-07 10:27:25 -04:00
Patrick McManus
ddd447c1fa bug 751647 - speculative connect needs to check spdy ip pooling table r=honzab 2012-05-07 09:43:46 -04:00
Patrick McManus
4a031c2685 bug 739522 allow parallelism for hosts that exhibit mixed spdy/http r=honzab 2012-05-03 20:32:12 -04:00
Patrick McManus
7f63c7e0c3 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
db6dda6a92 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
709bde9e59 bug 744788 - add httpconnmgrtick setTarget() in case of offline/online r=honzab 2012-04-13 15:47:43 -04:00
Patrick McManus
f3974807f4 bug 738812 timer serviced after thread exit nsHttpConnectionMgr::ReadTimeoutTick r=honzab 2012-04-11 13:11:09 -04:00
Patrick McManus
0037e47e55 bug 742935: fix landing problem with 717759 r=honzab 2012-04-09 10:22:07 -04:00
Patrick McManus
083437c9ff 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
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
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
afefeddb70 bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : 87370228074eaff2615b8dcef9b3c0c9b919b3c3
2012-03-22 19:39:31 -04:00
Patrick McManus
4465abacbf 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
b009ee6750 Bug 700659 - Slay nsHashSets in netwerk/protocol. r=mcmanus 2012-02-27 11:20:29 -05:00
Geoff Lankow
57f674e087 Backed out changeset f65247c7647a (bug 729133) 2012-02-26 13:50:34 +13:00
Patrick McManus
acb7dee365 bug 729133 speculative connections do full ssl and happen before cache lookup 2012-02-25 17:07:52 -05:00
Patrick McManus
6befe68970 bug 728113 spdy ping to keepalive nat timeouts 2/2 spdy ping r=honzab 2012-02-23 20:58:43 -05:00
Patrick McManus
2ca5173015 bug 728113 - spdy ping to keepalive nat timeouts 1/2 tick infrastructure r=honzab 2012-02-23 20:56:57 -05:00
Patrick McManus
b35860dbab bug 708415 spdy code review of nshttp* r=honzab 2012-01-26 00:15:26 -05:00
Patrick McManus
ae84a8763c bug 708415 spdysession review comments r=honzab 2012-01-26 00:15:26 -05:00
Patrick McManus
3ba70e69a9 bug 528288 - reland spdy after libxul weightloss a=khuey CLOSED TREE 2011-12-13 10:55:50 -05:00
Ed Morley
dd38904e41 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
a67e879446 bug 707173 - spdy telemetry for connection management r=honzab 2011-12-08 12:09:46 -05:00
Patrick McManus
f54a57c679 Bug 707662 - spdy null deref halfopen-transportstatus r=honzab 2011-12-06 09:43:09 -05:00
Patrick McManus
ac80bfadf7 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
70abff1eeb bug 528288 - spdy. Cleanups involving host coalescing r=honzab
patch 14

fixes 666028
2011-12-02 10:28:57 -05:00
Patrick McManus
d868a28a7d 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
56881c6c2c 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
65d9f31933 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
18a1ea247e 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
3e4edc0d65 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
82c9bf6d8e 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
30aeed8fda bug 671875 pipeline transport event fixups r=honzab 2011-12-01 09:19:41 -05:00
Honza Bambas
763505b7a6 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
9991653ed2 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
c51623e800 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