Commit Graph

128 Commits

Author SHA1 Message Date
Patrick McManus
47c9b46a88 bug 822745 spdy settings type 5 cwnd support r=honzab 2013-01-30 20:34:25 -05:00
Honza Bambas
aa3dc04db3 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
75fdd30e32 Backed out changeset 0aea65518be3 (bug 725587) for bustage. 2013-01-29 17:01:10 -05:00
Honza Bambas
e1940e7617 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
a6ca8be5e1 Backout of changeset 816f076c2c15 2013-01-29 22:26:47 +01:00
Honza Bambas
525ef24d96 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
Honza Bambas
2d462bdc0a Backout bug 725587, r=mcmanus 2013-01-03 17:43:51 +01:00
Honza Bambas
ac4a9ec43c 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
Valentin Gosu
97b3e6078a Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi 2012-12-10 09:13:55 -05:00
Patrick McManus
a8c64dfb57 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
5cba01713f bug 816685 expand caps in protocol/http to 32bits r=jduell 2012-11-29 20:34:35 -05:00
Josh Matthews
c88986c829 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
4ff3d565bd bug 805457 telemetry for proxy and websocket connections r=jduell 2012-10-27 15:24:19 -04:00
Honza Bambas
7d05e6f0d7 Bug 729536 - Deadlock by xul\!nsHttpConnectionMgr::Shutdown, r=cbiesinger 2012-10-22 19:59:07 +02:00
Patrick McManus
33165b8d55 bug 795082 http remove dead or redundant code r=honzab 2012-10-01 20:10:08 -04:00
Adam Dane [:hobophobe]
9053439fd6 Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
Ehsan Akhgari
243c878d26 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
Patrick McManus
4039e940a7 bug 780522 - stack overflow port out of range part 2/2 r=honzab 2012-08-09 20:38:36 -04:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Patrick McManus
3218227df0 bug 775813 - rename http connection mgr ReadTimeoutTick to just TimeoutTick r=honzab 2012-07-23 19:10:02 -04:00
Patrick McManus
9f6bae93c5 bug 762162 - network.http.timeout-connection r=honzab 2012-07-23 19:10:00 -04:00
Patrick McManus
dd8f917b06 bug 775515 nshttpconnectionmgr::restrictconnections() for half opens only if they never connected r=honzab 2012-07-20 08:50:18 -04:00
Patrick McManus
4a23d4fa91 bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi 2012-07-20 08:40:13 -04:00
Patrick McManus
ed67dd1214 bug 770264 - http connection diagnostics r=honzab 2012-07-09 18:07:57 -04:00
Ehsan Akhgari
63dec40b80 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (netwerk parts); r=jduell 2012-06-05 23:18:25 -04:00
Patrick McManus
cfdfcf2602 bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab 2012-05-25 17:37:01 -04:00
Honza Bambas
b31b80feda Bug 749209 - Happy Eyeballs implementation still not quite right, r=mcmanus 2012-05-22 22:12:40 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Patrick McManus
c9e9cca669 bug 752648 - fix regression with restarting due to tls intolerance r=honzab 2012-05-14 13:25:28 -04:00
Patrick McManus
4a1bdd64df bug 738914 - orange websocket pipeline::isdone from main thread r=jduell 2012-04-25 22:02:12 -04:00
Patrick McManus
7b89aa5681 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
71faee5cd6 bug 738812 timer serviced after thread exit nsHttpConnectionMgr::ReadTimeoutTick r=honzab 2012-04-11 13:11:09 -04:00
Patrick McManus
36d5f8f033 bug 742935: fix landing problem with 603512 r=honzab 2012-04-09 10:21:17 -04:00
Patrick McManus
ee29e5e26d 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
5a0ab1c402 bug 717350 doom cache entry on last-modified mismatch r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
4187cc4bd6 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
fe31432cfb bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
048047f5f0 bug 447866 http pipelining is bursty r=honzab 2012-03-22 19:39:31 -04:00
Nathan Froyd
7a3c24a83d Bug 700659 - Slay nsHashSets in netwerk/protocol. r=mcmanus 2012-02-27 11:20:29 -05:00
Geoff Lankow
be16664e3c Backed out changeset f65247c7647a (bug 729133) 2012-02-26 13:50:34 +13:00
Patrick McManus
bfa62e0c95 bug 729133 speculative connections do full ssl and happen before cache lookup 2012-02-25 17:07:52 -05:00
Patrick McManus
050f48ec49 bug 728113 - spdy ping to keepalive nat timeouts 1/2 tick infrastructure r=honzab 2012-02-23 20:56:57 -05:00
Patrick McManus
49f121ed9b bug 708415 spdy code review of nshttp* r=honzab 2012-01-26 00:15:26 -05:00
Patrick McManus
128aa03e76 bug 528288 - reland spdy after libxul weightloss a=khuey CLOSED TREE 2011-12-13 10:55:50 -05:00
Ed Morley
e1230df916 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
1242dc988c 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
be86af83d6 bug 528288 - spdy. Cleanups involving host coalescing r=honzab
patch 14

fixes 666028
2011-12-02 10:28:57 -05:00
Patrick McManus
f9793c2255 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
ae474353b4 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
235f6dae1c 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