Commit Graph

77 Commits

Author SHA1 Message Date
Patrick McManus
176a4657e1 bug 904170 - telemetry for daily http data consumption r=jduell 2013-09-22 23:01:10 -04:00
Ehsan Akhgari
2475f22cbe Bug 919320 - Minimize the #includes in netwerk/protocol; r=mcmanus 2013-09-22 23:35:52 -04:00
Phil Ringnalda
9c5131c9f6 Back out c93c3f52689c (bug 904170) for b2g desktop bustage
CLOSED TREE
2013-09-22 20:21:26 -07:00
Patrick McManus
b48609f368 bug 904170 - telemetry for daily http data consumption r=jduell 2013-09-22 23:01:10 -04:00
Patrick McManus
91c0ac13b0 bug 907800 - only retry http 408 when it is suspected of being a persistent reuse race r=jduell 2013-09-04 16:39:25 -04:00
Gabriele Svelto
619cc7ccf1 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger
b5df99e7e3 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
b6e8140bfc Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Patrick McManus
5ce0b3ff15 bug 897503 - part 2 use smart pointers for nsHttpHandler references r=sworkman 2013-08-13 15:36:58 -04:00
Joshua Cranmer
9254ed8d14 Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
--HG--
extra : rebase_source : d029f73a1f27896c142f76dce263dd3542763b18
2013-07-18 21:24:13 -05:00
Patrick McManus
181938db63 bug 890691 - spdy latency problem with control refresh r=hurley 2013-07-08 22:53:18 -04:00
Robert Bindar
ec50f8ab9d Bug 888583 - Expose protocol version in about:networking. r=valentin.gosu 2013-07-08 16:35:08 -04:00
Ryan VanderMeulen
5c30d91b73 Backed out changesets f9f13232e35f and 134b4feaff02 (bug 888583) for bustage. 2013-07-08 09:31:45 -04:00
Robert Bindar
f2cbf97856 Bug 888583 - Expose protocol version in about:networking. r=mcmanus 2013-07-08 09:10:19 -04:00
Patrick McManus
c88a96db57 bug 658222 - Enable TLS False Start (PSM) r=bsmith
--HG--
extra : rebase_source : ac9f77ba73a0a902f4b6aa8d52add7d52efb1b53
2013-06-28 16:58:28 -04:00
Nick Hurley
bfd698bdeb Bug 878594 - remove alternate-protocol support for spdy upgrades r=mcmanus 2013-06-06 09:10:33 -07:00
Patrick McManus
f8eb9535d0 bug 790388 part 3 - spdy/3 server push r=hurley
--HG--
extra : rebase_source : 1ed60ebda0b790f0ff1578abe7a7732676b495cf
2013-05-29 00:07:03 -04:00
Patrick McManus
2591c786a2 bug 871289 [2 of 2] fix trailing whitespace in netwerk/protocol/http/* r=jduell 2013-05-16 09:30:42 -04:00
Josh Matthews
831b85471d Bug 850252 - Remove Off-Main-Thread XPCWrappedJS refcounting from nsHttpConnection. r=mcmanus 2013-03-12 09:58:00 -04:00
Valentin Gosu
fddc917df4 Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi 2012-12-10 09:13:55 -05:00
Patrick McManus
d279b2b575 bug 816685 expand caps in protocol/http to 32bits r=jduell 2012-11-29 20:34:35 -05:00
Josh Matthews
164359236e 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
Josh Matthews
33564b3f20 Bug 804655 - Part 1: Make updating an nsHttpChannel's loadgroup/callbacks update those of its transaction and connection as well. r=mayhemer 2012-11-14 16:00:43 +00:00
Patrick McManus
03420cc4e4 bug 795082 http remove dead or redundant code r=honzab
--HG--
extra : rebase_source : 7dbaffae0670fb71ef8baa29a9884f63edfa2488
2012-10-01 20:10:08 -04:00
Ehsan Akhgari
8c296bbcd4 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
cfcdc84aac bug 770264 - http connection diagnostics r=honzab 2012-07-09 18:07:57 -04:00
Patrick McManus
0a116b0b9e bug 766312 - part 1 - pipeline cancelation could be "undone" r=honzab 2012-06-28 18:06:32 -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
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
7d2bdf959b bug 752648 - fix regression with restarting due to tls intolerance r=honzab
--HG--
extra : rebase_source : 8155ae4c221df4c5931816fb8773123cc37dd148
2012-05-14 13:25:28 -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
685e380e5e bug 742935: fix landing problem with 603512 r=honzab 2012-04-09 10:21:17 -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
a034a9d50a bug 665885 respect keepalive: "max=" attribute 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
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
c95427f2a0 bug 447866 pre patch 0 - pipeline and spdy mix r=honzab 2012-02-15 16:41:18 -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
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
795431c27d bug 528288 - spdy: early configuration of npn negotiation from IsAlive() r=honzab
patch 1
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
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