Commit Graph

84 Commits

Author SHA1 Message Date
Patrick McManus
9facb7071a bug 975750 - remove httpdatausage r=jduell 2014-02-25 20:39:08 -05:00
Steve Workman
fde2659647 Bug 444328 - Enable TCP Keepalive for short and long-lived HTTP Connections (exc. SPDY, WebSockets) r=mcmanus 2014-02-06 11:51:38 -08:00
Patrick McManus
015263fe87 bug 965348 - control SocketTransportService::Poll tick during spdy idle r=hurley 2014-01-30 02:29:20 -05:00
Patrick McManus
a126fef85a bug 957093 - namespace consistency for netwerk/protocol/http r=sworkman
--HG--
extra : rebase_source : f5b1a5e92239003020e75019efbe78a636150b34
2014-01-07 17:05:56 -05:00
Steve Workman
05ff22ac54 Bug 947391 - Add a timeout for initial HTTP responses r=mcmanus 2013-12-18 15:03:48 -08:00
Ryan VanderMeulen
16e73dd936 Backed out changesets 58db1fb509be and 7301ccf7e0be (bug 947391) for Android xpcshell orange. 2013-12-18 19:41:29 -05:00
Steve Workman
8042f61bcb Bug 947391 - Add a timeout for initial HTTP responses r=mcmanus 2013-12-18 15:03:48 -08:00
Patrick McManus
38857e13c6 bug 904170 - telemetry for daily http data consumption r=jduell 2013-09-22 23:01:10 -04:00
Ehsan Akhgari
0b3f2ea3df Bug 919320 - Minimize the #includes in netwerk/protocol; r=mcmanus 2013-09-22 23:35:52 -04:00
Phil Ringnalda
6fccef8112 Back out c93c3f52689c (bug 904170) for b2g desktop bustage
CLOSED TREE
2013-09-22 20:21:26 -07:00
Patrick McManus
ca8f99591a bug 904170 - telemetry for daily http data consumption r=jduell 2013-09-22 23:01:10 -04:00
Patrick McManus
1e8ba573b6 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
c8251ce6f3 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
944d17423c Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d 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
5c56bcd614 bug 897503 - part 2 use smart pointers for nsHttpHandler references r=sworkman 2013-08-13 15:36:58 -04:00
Joshua Cranmer
35b47f34ec 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
34ad9c51cf bug 890691 - spdy latency problem with control refresh r=hurley 2013-07-08 22:53:18 -04:00
Robert Bindar
403e1a820b Bug 888583 - Expose protocol version in about:networking. r=valentin.gosu 2013-07-08 16:35:08 -04:00
Ryan VanderMeulen
c0d1b5ed27 Backed out changesets f9f13232e35f and 134b4feaff02 (bug 888583) for bustage. 2013-07-08 09:31:45 -04:00
Robert Bindar
d129a1c7c9 Bug 888583 - Expose protocol version in about:networking. r=mcmanus 2013-07-08 09:10:19 -04:00
Patrick McManus
9c44286c03 bug 658222 - Enable TLS False Start (PSM) r=bsmith
--HG--
extra : rebase_source : ac9f77ba73a0a902f4b6aa8d52add7d52efb1b53
2013-06-28 16:58:28 -04:00
Nick Hurley
276d70ed10 Bug 878594 - remove alternate-protocol support for spdy upgrades r=mcmanus 2013-06-06 09:10:33 -07:00
Patrick McManus
9219350bce 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
e81bfaced3 bug 871289 [2 of 2] fix trailing whitespace in netwerk/protocol/http/* r=jduell 2013-05-16 09:30:42 -04:00
Josh Matthews
9e46ba8229 Bug 850252 - Remove Off-Main-Thread XPCWrappedJS refcounting from nsHttpConnection. r=mcmanus 2013-03-12 09:58:00 -04:00
Valentin Gosu
bd752af443 Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi 2012-12-10 09:13:55 -05:00
Patrick McManus
0fa0eba17c bug 816685 expand caps in protocol/http to 32bits r=jduell 2012-11-29 20:34:35 -05:00
Josh Matthews
5faa109e12 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
e822f81d3d 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
d918051bf8 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
0fd9123eac 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
088966a8d5 bug 770264 - http connection diagnostics r=honzab 2012-07-09 18:07:57 -04:00
Patrick McManus
d6879e09e8 bug 766312 - part 1 - pipeline cancelation could be "undone" r=honzab 2012-06-28 18:06:32 -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
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
ec0d8ed61a 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
59035f14d4 bug 739522 allow parallelism for hosts that exhibit mixed spdy/http r=honzab 2012-05-03 20:32:12 -04:00
Patrick McManus
423247bf74 bug 742935: fix landing problem with 603512 r=honzab 2012-04-09 10:21:17 -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
6642e5f564 bug 665885 respect keepalive: "max=" attribute 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
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
ea7056c261 bug 447866 pre patch 0 - pipeline and spdy mix r=honzab 2012-02-15 16:41:18 -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