Commit Graph

258 Commits

Author SHA1 Message Date
Marco Fornaro
908934af3d Bug 1168033 - Add a comment to nsHttpConnectionMgr.cpp explaining the assignment of attemptedOptimisticPipeline. r=mcmanus 2015-06-02 01:40:00 -04:00
Patrick McManus
cf75448983 bug 1189645 - remove spdy telem r=hurley 2015-07-31 04:07:07 -04:00
Nicholas Hurley
bb76d521d7 Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL 2015-07-31 13:50:08 -07:00
Benoit Girard
b4e210eae2 Bug 1182516 - Add Chaos Mode environment variable MOZ_CHAOSMODE. r=roc 2015-07-14 17:29:23 -04:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Emanuel Hoogeveen
b30abdc582 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Nicholas Hurley
4fc079fd93 Bug 1159747 - delete h2 static compression table in such a way to avoid crashes after network changes. r=mcmanus 2015-05-27 09:49:00 +02:00
Patrick McManus
0d2c0e891e bug 1153212 - 2/2 Necko explicitly track origin vs routed host and give psm only origin r=dkeeler r=hurley IGNORE IDL
Allow necko to simultaneously track the dual concept of routed host
and origin (authenticated host). The origin is given to the socket
provider and the routed host is inserted at DNS lookup time as if it
were a SRV or CNAME.
2015-04-09 11:31:59 -04:00
Patrick McManus
5f2fead9ba bug 1153212 - 1/2 revert 90d6a38931fa to make room for better fix r=backout 2015-05-07 13:16:26 -04:00
Patrick McManus
fce968fc71 bug 1153212 - Alt-Svc Fixes r=dkeeler r=hurley 2015-04-13 17:11:59 -04:00
Nathan Froyd
023e3d5c3f Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
Ryan VanderMeulen
838f96487a Backed out changeset e713ce8013eb (bug 1127618) for suspicion of causing semi-frequent B2G crashes.
CLOSED TREE
2015-04-09 20:05:49 -04:00
Nicholas Hurley
846155b38d Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj 2015-04-08 14:42:00 +02:00
Henry Chang
c70ec57ff4 Bug 1053650 - Part 2: Populate networkInterfaceId to SocketTransport. r=mcmanus 2015-04-07 11:45:57 -04:00
Daniel Holbert
ddb04a0443 Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Nicholas Hurley
8a97afb261 Bug 1136484 - Fix happy eyeballs regression from bug 1003448. r=mcmanus 2015-03-17 09:23:11 -07:00
Timur Valeev
527f7269e1 Bug 1133846 - Add missing arguments to logging call in ActivateTimeoutTick. r=mcmanus 2015-02-24 00:57:00 -05:00
Patrick McManus
87e2e25aaf bug 1133177 - https tunnel of h1 without pconn inside h2 session stall r=hurley 2015-02-19 13:50:15 -05:00
Patrick McManus
2c65815978 bug 1133177 - network logging and cleanups (part 1) r=hurley 2015-02-19 12:21:03 -05:00
Patrick McManus
df36c63e19 bug 1129571 - h2/spdy coalsescing by full DNS rrset r=hurley 2015-01-30 10:55:07 -05:00
Patrick McManus
ca7640c0d1 bug 1094522 - only claim null transactions for your connection if KA eligible r=hurley CLOSED TREE 2015-01-28 16:56:57 -05:00
Patrick McManus
319dfbb69b bug 1094522 - claim conns with null transactions instead of starting new ones r=hurley 2015-01-27 21:55:38 -05:00
Patrick McManus
c870cb3fa4 bug 1116867 - make nsIProgressEventSink and nsITransportEventSink safely scriptable r=mayhemer r=bz
These scriptable interfaces use uint_64 arguments with sentinel values
of UINT64_MAX. However, UINT64_MAX exceeds MAX_SAFE_INTEGER and cannot
be gatewayed to/from javascript - so they cannot be used
correctly. Change them to use signed 64 bit numbers and -1 as the
sentinnel. C++ implementations ought to be enough to audit as the
special value could never be used correctly in JS anyhow - also
audited OnProgressChange() uses for downstream use of this data.
---
 dom/base/nsXMLHttpRequest.cpp                      | 19 +++++++----
 dom/base/nsXMLHttpRequest.h                        | 10 +++---
 dom/plugins/base/nsPluginStreamListenerPeer.cpp    |  4 +--
 .../webbrowserpersist/nsWebBrowserPersist.cpp      | 14 ++++----
 image/src/imgLoader.cpp                            |  4 +--
 modules/libjar/nsJARChannel.cpp                    |  3 +-
 netwerk/base/public/nsIProgressEventSink.idl       |  8 ++---
 netwerk/base/public/nsITransport.idl               |  8 ++---
 netwerk/base/public/nsNetUtil.h                    | 24 ++++++++++++++
 netwerk/base/src/Dashboard.cpp                     |  2 +-
 netwerk/base/src/nsBaseChannel.cpp                 | 12 +++----
 netwerk/base/src/nsIncrementalDownload.cpp         |  4 +--
 netwerk/base/src/nsSocketTransport2.cpp            |  5 +--
 netwerk/base/src/nsStreamTransportService.cpp      | 38 +++++++++++++---------
 netwerk/base/src/nsTransportUtils.cpp              | 12 +++----
 netwerk/protocol/file/nsFileChannel.cpp            |  8 +++--
 netwerk/protocol/ftp/nsFtpConnectionThread.cpp     |  4 +--
 netwerk/protocol/http/Http2Push.cpp                |  2 +-
 netwerk/protocol/http/Http2Session.cpp             |  2 +-
 netwerk/protocol/http/HttpChannelChild.cpp         | 31 +++++++++---------
 netwerk/protocol/http/HttpChannelChild.h           |  6 ++--
 netwerk/protocol/http/HttpChannelParent.cpp        |  4 +--
 netwerk/protocol/http/HttpChannelParent.h          |  4 +--
 netwerk/protocol/http/NullHttpTransaction.cpp      |  2 +-
 netwerk/protocol/http/PHttpChannel.ipdl            |  2 +-
 netwerk/protocol/http/SpdyPush31.cpp               |  2 +-
 netwerk/protocol/http/SpdySession31.cpp            |  2 +-
 netwerk/protocol/http/TunnelUtils.cpp              |  2 +-
 netwerk/protocol/http/nsAHttpTransaction.h         |  4 +--
 netwerk/protocol/http/nsHttpChannel.cpp            | 30 +++++++++++------
 netwerk/protocol/http/nsHttpConnection.cpp         |  4 +--
 netwerk/protocol/http/nsHttpConnectionMgr.cpp      |  4 +--
 netwerk/protocol/http/nsHttpPipeline.cpp           |  4 +--
 netwerk/protocol/http/nsHttpPipeline.h             |  6 ++--
 netwerk/protocol/http/nsHttpResponseHead.cpp       |  2 +-
 netwerk/protocol/http/nsHttpResponseHead.h         |  2 +-
 netwerk/protocol/http/nsHttpTransaction.cpp        | 32 +++++++++---------
 netwerk/protocol/http/nsHttpTransaction.h          |  2 +-
 netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp   |  2 +-
 netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp      |  3 +-
 netwerk/test/TestIncrementalDownload.cpp           |  7 ++--
 uriloader/base/nsDocLoader.cpp                     | 14 ++++----
 42 files changed, 203 insertions(+), 151 deletions(-)
2015-01-08 14:48:52 -05:00
Patrick McManus
7bdb01f0a1 bug 1111217 - Http2Session::CloseTransaction can delete this while on stack from OnMsgCancelTransaction r=hurley 2014-12-15 13:00:13 -05:00
Patrick McManus
ad2b489529 bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Patrick McManus
6259a4169e bug 865314 - backout 61ee2e053920 due to crashes 1089638 r=backout 2014-12-12 11:48:02 -05:00
Patrick McManus
1d63fd3557 bug 865314 - ssl parallelism to new host should not be 1 r=hurley 2014-01-30 03:56:36 -05:00
Patrick McManus
e398f8653d bug 1104993 - fix connection manager half open accounting r=hurley 2014-11-24 22:42:10 -05:00
Nathan Froyd
340eac98ae Bug 1099251 - make ChaosMode's behavior modifications more finely-grained selectable; r=roc 2014-11-14 13:12:51 -05:00
Ryan VanderMeulen
1600e81962 Backed out changeset 06acd829f970 (bug 865314) for causing new topcrashes. a=me 2014-10-27 14:26:13 -04:00
Patrick McManus
aef989b7e4 bug 865314 - ssl parallelism to new host should not be 1 r=hurley 2014-01-30 03:56:36 -05:00
Patrick McManus
45b91c0db1 bug 1024730 - nsIHttpPushListener r=hurley
co-author: ben brittain <ben@brittain.org>
2014-10-21 14:35:41 -04:00
Patrick McManus
ee175b37cc bug 865314 - backout for unused variable compiler bustage r=bustage CLOSED TREE 2014-10-24 11:52:18 -04:00
Patrick McManus
27c976115c bug 865314 - ssl parallelism to new host should not be 1 r=hurley 2014-01-30 03:56:36 -05:00
Patrick McManus
30e70bb8f9 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [2/2 necko] r=hurley 2014-08-21 10:50:17 -04:00
Patrick McManus
8ceb37cdf6 bug 1076129 generate event on socket transport cancelation r=sworkman 2014-10-02 00:38:53 -04:00
Daniel Stenberg
5b4c276b42 Bug 939318 - Find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-09-11 06:55:00 -04:00
Ed Morley
cc6bc5ce84 Backed out changeset 0a066b7ffa46 (bug 939318) 2014-09-24 16:17:32 +01:00
Daniel Stenberg
9ac9528ccf Bug 939318 - Find and close HTTP connections without traffic after network change, r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-09-11 06:55:00 -04:00
Tom Tromey
a050e72780 Bug 1069387 - Fix "Transaction" typos in netwerk/protocol/http. r=mcmanus 2014-09-18 08:13:00 -04:00
Tim Taubert
f73f12fa82 Bug 525284 - When cancelling a HTTP transaction, abandon all its half-open sockets r=mcmanus 2014-08-30 10:24:36 +02:00
Patrick McManus
e9ed4e4a2f bug 1056133 - add h2 to coalescing list r=hurley 2014-08-20 10:41:14 -04:00
Patrick McManus
2b12aba366 bug 1047474 - spdy/h2 dispatch with shift-reload sometimes sticks r=hurley 2014-08-01 12:11:02 -04:00
Patrick McManus
b6208f8bcb Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Steve Workman
368b902162 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Jeremy Poulin
1f03e7b127 Bug 1037184 - Extended the speculative connection overrider to track predictor preconnects. r=hurley 2014-07-14 11:30:18 -07:00
Patrick McManus
3b584604e6 bug 1037082 - part 3/3 407 proxy auth for https over https r=hurley 2014-07-07 11:43:11 -04:00
Benoit Jacob
d66ff6a02f Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Jeremy Poulin
8d52582a9f Bug 1028426 - Move check for unused speculative connections to where they are removed. r=hurley 2014-06-20 15:17:23 -07:00
Valentin Gosu
788f956961 Bug 1020539 - clear about:networking hostname list when deleting history r=mcmanus 2014-06-21 04:12:56 +03:00