Commit Graph

186 Commits

Author SHA1 Message Date
Patrick McManus
707422c064 bug 1206771 - fix reentrantFlag compiler warning on >= beta r=jduell 2015-09-21 13:22:23 -04:00
Patrick McManus
e2f929f7a8 bug 1187239 - ontransportstatus SENDING_TO should not use request stream re-entrantly r=hurley r=bz 2015-09-15 18:12:37 -04:00
Patrick McManus
13da862969 bug 1204614 - use h2 per stream flow control to deal with suspended channels r=hurley 2015-09-11 15:53:27 -04:00
Patrick McManus
0cc1c3d997 bug 1196882 - dont enforce h1 framing on non 2xx r=bagder 2015-08-28 10:57:16 -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
Jessica Jong
0fdefc07fa Bug 1167132 - Part 13: [NetworkManager] Move network information into a separate interface (Necko/NetStats). r=ethan 2015-07-29 02:14:00 -04:00
Valentin Gosu
2b779bea47 Bug 1153929 - Add diagnostic asserts to check vtable is still present for mPipeOut r=mcmanus 2015-07-17 14:15:56 +02: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
Patrick McManus
57091fde66 bug 1179560 - some 421 retries dont work r=hurley 2015-07-02 10:34:01 -04: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
Honza Bambas
1dc83b6242 Bug 1170534 - Remove Visual Event Tracer. r=dougt 2015-06-02 11:44:00 -04:00
Valentin Gosu
f9f01c395a Bug 1153929 - Add assertions and null checks to fix windows crash in nsHttpTransaction r=mcmanus 2015-05-08 03:54:06 +03:00
Eric Rahm
b676a83446 Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 12:52:44 -07:00
Wes Kocher
ce92b3fcd9 Backed out 2 changesets (bug 1162336) for breaking at least windows builds
Backed out changeset 8952a7fa4050 (bug 1162336)
Backed out changeset 0170a6c2a5be (bug 1162336)
2015-05-07 11:13:24 -07: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
Eric Rahm
bd957615ed Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 10:35:28 -07:00
Patrick McManus
0b0c4899cb bug 1157280 - dont getSockName from main thread r=hurley 2015-04-29 18:39:06 -04:00
Patrick McManus
13af726282 Bug 1154061 - clear cached alt svc mappings on a variety of state changes r=hurley
an alt-svc map is just an optimization which can get out of phase like
any other piece of state.. therefore it makes sense to
drop them when a user presses some kind of "serenity now" button such
as force-reload, clear cache, etc..
2015-04-10 16:13:30 -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
Patrick McManus
93569040bc bug 1148237 restart verifier null pattern r=honzab 2015-03-30 15:56:49 -04:00
Valentin Gosu
8acfc35d70 Bug 1123920 - requestStart timestamp is before connectEnd when using persistent connections r=mcmanus 2015-02-25 20:23:35 +02:00
Valentin Gosu
7f8de9c12e Bug 1132572 - Fix data race for nsHttpTransaction's timing info r=mcmanus 2015-02-25 20:23:23 +02:00
Daniel Stenberg
0c8aa78f3e Bug 237623 - introduce "soft" checks for HTTP framing errors, r=mcmanus 2015-02-25 01:16:00 +01: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
df5eb2cc33 bug 1133156 backout 7abb1cb9739e (bug 237623) for regression r=backout 2015-02-13 22:57:03 -05:00
Patrick McManus
bba22aa2dc bug 1132212 - nshttptransction.cpp dont play with data race fire r=sworkman 2015-02-12 15:00:18 -05:00
Daniel Stenberg
762213314d Bug 237623 - Introduce "soft" checks for HTTP framing errors. r=mcmanus 2015-02-11 05:17:00 -05:00
Ryan VanderMeulen
3322287d49 Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
Patrick McManus
8a829824a9 bug 1130874 - update h2 alternate service extension to draft-06 r=hurley 2015-02-06 17:45:05 -05:00
Ethan Tseng
a84f1903a5 Bug 1070944 - Part 2: Implementation of saving statistics. r=albert 2015-01-27 17:15:44 +08: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
bc5d494184 bug 1110707 - dont assume seekable stream on sending_to http events r=valentin 2015-01-05 12:08:21 -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
Nicholas Hurley
14b47a8942 Bug 1091263 - HTTP_1_1_REQUIRED support. r=mcmanus 2014-11-06 09:26:00 -05:00
Patrick McManus
3242a33df4 bug 1088850 - disable http/1 framing enforcement from bug 237623 r=bagder 2014-10-24 16:19:40 -04: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
e95970b3cc Bug 1082261 - http 421 retry r=hurley 2014-10-13 20:51:50 -04:00
Carsten "Tomcat" Book
c81552243d Backed out changeset d6c66b0eeba9 (bug 1082261) for web-4 test failures 2014-10-23 14:52:46 +02:00
Patrick McManus
8e05eb3d25 bug 1082261 - http 421 retry r=hurley 2014-10-13 20:51:50 -04: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
795cbd1326 bug 1072860 - modernize ref counting and thread asserts for nshttptransaction r=valentin 2014-09-23 19:18:47 -04:00
Wes Kocher
e78db1392e Backed out changeset 0b75d671af47 (bug 1072860) for b2g m3 orange 2014-09-25 16:45:14 -07:00
Patrick McManus
e26bd0da09 bug 1072860 - modernize ref counting and thread asserts for nshttptransaction r=valentin 2014-09-23 19:18:47 -04:00
Valentin Gosu
55340473ae Bug 1011354 - Use a mutex to guard access to nsHttpTransaction::mConnection. r=mcmanus, r=honzab 2014-09-18 22:21:59 +03:00
Ehsan Akhgari
cae4fa66a8 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -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
Patrick McManus
38eb1c6354 bug 1034918 - nshttptransaction dtor can be private r=sworkman 2014-07-08 12:43:04 -04:00