Patrick McManus
bc8b32ebf4
bug 829120 - spdy could call connection::Activate re-entrantly r=honzab
...
--HG--
extra : rebase_source : b9df38e82e3bf3cf7a9ba6ff92770e37f03f6977
2013-03-12 16:00:58 -04:00
Masatoshi Kimura
11f9152670
Bug 827032 - Enable FAIL_ON_WARNINGS on MSVC in netwerk/. r=jduell
2013-02-08 20:49:30 +09:00
Patrick McManus
496b16cf36
bug 822745 spdy settings type 5 cwnd support r=honzab
2013-01-30 20:34:25 -05:00
Honza Bambas
a94eb57cf0
Bug 725587 - Firefox jumps randomly from IPv6 to IPv4 and vice versa in dual-stack environment, r=mcmanus
2013-01-29 23:49:35 +01:00
Ryan VanderMeulen
c429163e8b
Backed out changeset 0aea65518be3 (bug 725587) for bustage.
2013-01-29 17:01:10 -05:00
Honza Bambas
22303b032c
Bug 725587 - Firefox jumps randomly from IPv6 to IPv4 and vice versa in dual-stack environment, r=mcmanus
2013-01-29 22:44:58 +01:00
Honza Bambas
ce40d552f4
Backout of changeset 816f076c2c15
2013-01-29 22:26:47 +01:00
Honza Bambas
a279035ff4
Bug 725587 - Firefox jumps randomly from IPv6 to IPv4 and vice versa in dual-stack environment, r=mcmanus
2013-01-29 22:05:42 +01:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Honza Bambas
927e7bbb77
Backout bug 725587, r=mcmanus
2013-01-03 17:43:51 +01:00
Josh Aas
233d967af4
Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman
2012-12-23 16:08:43 -05:00
Honza Bambas
610ef445f9
Bug 725587 - Firefox jumps randomly from IPv6 to IPv4 and vice versa in dual-stack environment, r=mcmanus
2012-12-21 18:50:26 +01:00
Josh Aas
55496693ab
Back out fix for bug 807678 again, cset ec4e88c2c77a.
2012-12-20 17:39:30 -05:00
Josh Aas
42f2ca6fe6
Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman
2012-12-20 14:47:07 -05:00
Ed Morley
1d05c8c189
Backout 744b40b75241 (bug 807678) on suspicion of causing Win debug xpcshell timeouts on a CLOSED TREE
2012-12-14 13:00:19 +00:00
Josh Aas
e4134b8a11
Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman
2012-12-13 09:18:33 -05:00
Valentin Gosu
d9fc31cfe1
Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi
2012-12-10 09:13:55 -05:00
Patrick McManus
7fdb85279f
bug 818962 ConnectionManager ProcessPendingQForEntry needs to consider that TryToDispatch.. can modify queue r=honzab
2012-12-06 19:27:53 -05:00
Patrick McManus
72f1db69a9
bug 792438 - part 2 block network image loads on head css,js r=honzab sr=bz
2012-12-04 18:06:29 -05:00
Patrick McManus
52fa9f98ab
bug 816685 expand caps in protocol/http to 32bits r=jduell
2012-11-29 20:34:35 -05:00
Daniel Holbert
79078b7ce8
Bug 815928 part 1: Fix typo s/elelment/element/ in comments & tests. DONTBUILD, rs=Waldo
2012-11-27 19:15:35 -08:00
Josh Matthews
e0bfa38e3b
Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi
2012-06-30 07:34:17 -07:00
Ed Morley
0687c2b3aa
Backout e123e0173185, 326ed6f1dc9e & 7c2c9c988869 (bug 722979) for mochitest-a11y failures
2012-11-16 15:06:13 +00:00
Josh Matthews
cdf21f169e
Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi
2012-06-30 07:34:17 -07:00
Josh Matthews
7d54e6176e
Bug 804655 - Part 2: Wrap up interface aggregator callbacks with a target thread on which they should be released. r=mayhemer
2012-11-14 16:00:44 +00:00
Patrick McManus
2d3e9a0ced
bug 779467 modify ClosePersistentConnections to accomodate sticky auth r=honzab
2012-11-04 11:24:24 -05:00
Patrick McManus
5938428609
bug 805457 telemetry for proxy and websocket connections r=jduell
2012-10-27 15:24:19 -04:00
Patrick McManus
e9c52b0e32
bug 790321 - dont coalesce spdy hosts with socks proxy r=honzab
2012-10-27 15:24:19 -04:00
Patrick McManus
c95ac38959
bug 805067 - remove redundant mozilla:: in netwerk/protocol/http r=jduell
2012-10-24 21:00:27 -04:00
Honza Bambas
2afde93b5a
Bug 729536 - Deadlock by xul\!nsHttpConnectionMgr::Shutdown, r=cbiesinger
2012-10-22 19:59:07 +02:00
Patrick McManus
ab1f97f31d
bug 795082 http remove dead or redundant code r=honzab
...
--HG--
extra : rebase_source : 7dbaffae0670fb71ef8baa29a9884f63edfa2488
2012-10-01 20:10:08 -04:00
Isaac Aggrey
b95ab79e45
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
35bc9a72e8
Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
...
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Valentin Gosu
128a63b096
Bug 791088 - Add telemetry for Connection Manager transaction time. r=mcmanus
2012-09-19 20:24:58 -04:00
Adam Dane [:hobophobe]
b6f4fdb364
Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger
2012-09-17 18:45:10 -05:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E)
05d997c6df
Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell
2012-08-25 11:19:00 -07:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
719dcb2097
Bug 782252 - Change named constants to correct types; r=ehsan
2012-08-07 18:11:35 +03:00
Patrick McManus
757090d228
bug 780522 - stack overflow port out of range part 2/2 r=honzab
2012-08-09 20:38:36 -04:00
Patrick McManus
f71850e328
bug 780522 - stack overflow port out of range part 1/2 r=honzab
2012-08-09 20:38:36 -04:00
Aryeh Gregor
7c1ebce612
Bug 778680 part 2 - Fix incorrect nsresult usage in netwerk/; r=jduell
2012-08-01 11:17:09 +03:00
Aryeh Gregor
5f722a9bf7
Bug 778680 part 1 - Make netwerk status codes actually nsresult; r=jduell
2012-08-01 11:17:09 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Patrick McManus
11b999f514
bug 775813 - rename http connection mgr ReadTimeoutTick to just TimeoutTick r=honzab
2012-07-23 19:10:02 -04:00
Patrick McManus
623040ca15
bug 762162 - network.http.timeout-connection r=honzab
2012-07-23 19:10:00 -04:00
Patrick McManus
60351e8369
bug 775515 nshttpconnectionmgr::restrictconnections() for half opens only if they never connected r=honzab
...
--HG--
extra : rebase_source : d1c27fa7c066f8f25efa7bf4ad78e6df62b7ce22
2012-07-20 08:50:18 -04:00
Patrick McManus
5b9ce7432a
bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi
...
--HG--
extra : rebase_source : d348e3ec56faa48fbed5c4f0f697dee6658e21b2
2012-07-20 08:40:13 -04:00
Jason Duell
ec81304c25
Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus
2012-06-22 12:01:00 -07:00
Patrick McManus
ecf598e263
bug 769264 pipeline logging cleanups r=honzab
...
--HG--
extra : rebase_source : fc747b84349096b70d8b75d8aff8626826380d81
2012-07-02 18:10:04 -04:00
Ed Morley
3315e7c5e2
Backout d45ca69b67a3 (bug 767516), 4ff98d3e4d8d (bug 767512), 70cc47076115 (bug 767505), 4eca26d02c84 (bug 766929) for mochitest-plain-5 failures
2012-06-25 21:38:10 +01:00
Jason Duell
9392a5a0d0
Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus
2012-06-25 12:48:49 -07:00
Jason Duell
0a66a023f2
Bug 713026 - websockets bootstrap via proxy should always CONNECT. r=mcmanus
2012-06-18 22:50:20 -07:00
Patrick McManus
6b69dcf1a3
bug 760608 alternatve 1 preconnect problem with SSL r=honzab
2012-06-06 15:47:45 -04:00
Patrick McManus
b5d1b0d101
bug 757882 replace 250+ lines of redundant nsAHttpConnection implementations with macros r=jduell
2012-05-25 17:56:41 -04:00
Patrick McManus
ba5ffc3931
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
30d7146e2c
Bug 722845 - Part 1: Add private browsing information to HTTP channels. r=jduell,mayhemer
2012-05-24 16:31:53 +01:00
Honza Bambas
c8c5d41176
Bug 749209 - Happy Eyeballs implementation still not quite right, r=mcmanus
2012-05-22 22:12:40 +02:00
Patrick McManus
b4492fadee
bug 756551 spdy stream index integrity checks r=honzab
2012-05-21 17:09:25 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Patrick McManus
4e71c1624c
Bug 755467 SpdySession::RestrictConnections() should use conn->EverUsedSpdy() r=honzab
2012-05-15 16:31:29 -04:00
Patrick McManus
be04c92f52
bug 726366 - support tunneling spdy through proxies r=honzab
...
--HG--
extra : rebase_source : 866ba1670ae0a2023e8cae8185b1e9d12bd1aed5
2012-05-07 10:27:25 -04:00
Patrick McManus
36f1ecd09b
bug 751647 - speculative connect needs to check spdy ip pooling table r=honzab
2012-05-07 09:43:46 -04:00
Patrick McManus
2e902713dc
bug 739522 allow parallelism for hosts that exhibit mixed spdy/http r=honzab
2012-05-03 20:32:12 -04:00
Patrick McManus
9d78d2fad5
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
13554b7561
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
c38a6fdfcc
bug 744788 - add httpconnmgrtick setTarget() in case of offline/online r=honzab
2012-04-13 15:47:43 -04:00
Patrick McManus
607863247f
bug 738812 timer serviced after thread exit nsHttpConnectionMgr::ReadTimeoutTick r=honzab
2012-04-11 13:11:09 -04:00
Patrick McManus
85c5493dfe
bug 742935: fix landing problem with 717759 r=honzab
2012-04-09 10:22:07 -04:00
Patrick McManus
07663a6a1e
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
f9c663dd09
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
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
a991ee2ac4
bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
5090fe4d7b
bug 599164 pipeline with type and state r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
44e6aac1f5
bug 447866 http pipelining is bursty r=honzab
...
--HG--
extra : rebase_source : 87370228074eaff2615b8dcef9b3c0c9b919b3c3
2012-03-22 19:39:31 -04:00
Patrick McManus
25951fb3a6
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
3ae0060106
Bug 700659 - Slay nsHashSets in netwerk/protocol. r=mcmanus
2012-02-27 11:20:29 -05:00
Geoff Lankow
bd2db9a6eb
Backed out changeset f65247c7647a (bug 729133)
2012-02-26 13:50:34 +13:00
Patrick McManus
e5d63954e3
bug 729133 speculative connections do full ssl and happen before cache lookup
2012-02-25 17:07:52 -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
530da9a313
bug 708415 spdy code review of nshttp* 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
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
0d2cc600cd
bug 707173 - spdy telemetry for connection management r=honzab
2011-12-08 12:09:46 -05:00
Patrick McManus
216e08067c
Bug 707662 - spdy null deref halfopen-transportstatus r=honzab
2011-12-06 09:43:09 -05:00
Patrick McManus
5e196c87ab
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
3d49dab899
bug 528288 - spdy. Cleanups involving host coalescing r=honzab
...
patch 14
fixes 666028
2011-12-02 10:28:57 -05:00
Patrick McManus
3250b302c1
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
fef402c6f7
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
7b7e03e318
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
d7a9653123
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
45e166800a
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
bad3981a7f
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
1d572c1616
bug 671875 pipeline transport event fixups r=honzab
2011-12-01 09:19:41 -05:00
Honza Bambas
8bac226218
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
35a08e28d5
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
7bd44a1858
bug 692260 - pr_poll limit autodiscovery for windows r=jduell
...
--HG--
extra : rebase_source : dc9b024b4004e0a4025e843e94e046b4dd69dca9
2011-10-25 11:36:49 -04:00