Граф коммитов

242 Коммитов

Автор SHA1 Сообщение Дата
Timur Valeev 1234b03a23 Bug 1133846 - Add missing arguments to logging call in ActivateTimeoutTick. r=mcmanus 2015-02-24 00:57:00 -05:00
Patrick McManus 0f9824c683 bug 1133177 - https tunnel of h1 without pconn inside h2 session stall r=hurley 2015-02-19 13:50:15 -05:00
Patrick McManus d0b1783640 bug 1133177 - network logging and cleanups (part 1) r=hurley 2015-02-19 12:21:03 -05:00
Patrick McManus c2d290654c bug 1129571 - h2/spdy coalsescing by full DNS rrset r=hurley 2015-01-30 10:55:07 -05:00
Patrick McManus 84f7fbbc7a bug 1094522 - only claim null transactions for your connection if KA eligible r=hurley CLOSED TREE
--HG--
extra : amend_source : 016cc2ea903e23dc5daaa3f875f96cc2e6bdb001
2015-01-28 16:56:57 -05:00
Patrick McManus 1d224b6824 bug 1094522 - claim conns with null transactions instead of starting new ones r=hurley 2015-01-27 21:55:38 -05:00
Patrick McManus 175115e709 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 4ab4a2e414 bug 1111217 - Http2Session::CloseTransaction can delete this while on stack from OnMsgCancelTransaction r=hurley 2014-12-15 13:00:13 -05:00
Patrick McManus 7edbeec28f bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Patrick McManus 9aa9696cc0 bug 865314 - backout 61ee2e053920 due to crashes 1089638 r=backout
--HG--
extra : rebase_source : a402ff7ab1f653320ac577807fbe85143d945af8
2014-12-12 11:48:02 -05:00
Patrick McManus c6419de7d1 bug 865314 - ssl parallelism to new host should not be 1 r=hurley 2014-01-30 03:56:36 -05:00
Patrick McManus 88b035b0c8 bug 1104993 - fix connection manager half open accounting r=hurley 2014-11-24 22:42:10 -05:00
Nathan Froyd 970fc0e8a3 Bug 1099251 - make ChaosMode's behavior modifications more finely-grained selectable; r=roc 2014-11-14 13:12:51 -05:00
Ryan VanderMeulen a41c52129e Backed out changeset 06acd829f970 (bug 865314) for causing new topcrashes. a=me 2014-10-27 14:26:13 -04:00
Patrick McManus bc1d5e575f bug 865314 - ssl parallelism to new host should not be 1 r=hurley 2014-01-30 03:56:36 -05:00
Patrick McManus bc4244f5a9 bug 1024730 - nsIHttpPushListener r=hurley
co-author: ben brittain <ben@brittain.org>
2014-10-21 14:35:41 -04:00
Patrick McManus 28bf55dae8 bug 865314 - backout for unused variable compiler bustage r=bustage CLOSED TREE 2014-10-24 11:52:18 -04:00
Patrick McManus bad6068a9f bug 865314 - ssl parallelism to new host should not be 1 r=hurley 2014-01-30 03:56:36 -05:00
Patrick McManus 12115897d4 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [2/2 necko] r=hurley 2014-08-21 10:50:17 -04:00
Patrick McManus 5e45f58122 bug 1076129 generate event on socket transport cancelation r=sworkman 2014-10-02 00:38:53 -04:00
Daniel Stenberg 4626439304 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 80ce7b3e12 Backed out changeset 0a066b7ffa46 (bug 939318) 2014-09-24 16:17:32 +01:00
Daniel Stenberg 5849257293 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 e21e8e622e Bug 1069387 - Fix "Transaction" typos in netwerk/protocol/http. r=mcmanus 2014-09-18 08:13:00 -04:00
Tim Taubert 0e42e71b6c 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 8bb10930d4 bug 1056133 - add h2 to coalescing list r=hurley 2014-08-20 10:41:14 -04:00
Patrick McManus 67ac27c906 bug 1047474 - spdy/h2 dispatch with shift-reload sometimes sticks r=hurley 2014-08-01 12:11:02 -04:00
Patrick McManus 7b3d6bf83d 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 111df17ab2 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Jeremy Poulin 6240993aa3 Bug 1037184 - Extended the speculative connection overrider to track predictor preconnects. r=hurley 2014-07-14 11:30:18 -07:00
Patrick McManus 29d2ce2ffe bug 1037082 - part 3/3 407 proxy auth for https over https r=hurley 2014-07-07 11:43:11 -04:00
Benoit Jacob ff32bb14c1 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Jeremy Poulin 8ca3668763 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 0bcfcf7756 Bug 1020539 - clear about:networking hostname list when deleting history r=mcmanus 2014-06-21 04:12:56 +03:00
Jeremy Poulin 7df04cd9fc Bug 1024639 - Added telemetry tracking for used, total, and unused telemetry connections. r=hurley 2014-06-17 13:35:25 -07:00
Patrick McManus 173d1dc1d2 bug 378637 part 12 - proxy over TLS (i.e. https proxying) r=hurley
--HG--
extra : rebase_source : 85b4f6b3eb1a3977ff888fa70214055a41f72da5
2014-04-16 09:52:43 -04:00
Patrick McManus 7df71d973e bug 378637 part 9 - https proxy info added to connection info and reqeuest head r=hurley
--HG--
extra : rebase_source : 30bfa9973c18e2a53ece4ea5056b38c151f49cf0
2014-04-16 09:23:20 -04:00
Patrick McManus 6038b536dc bug 378637 part 4 - more proactive failed to connect detection in nsHttpConnection r=hurley
--HG--
extra : rebase_source : 65004f57b9c464f03050a8597b28a678c6ca8f47
2014-04-02 17:26:58 -04:00
Patrick McManus c72c71a34e bug 378637 part 3 - fix http style: comments, whitespace, formatters r=hurley
--HG--
extra : rebase_source : 9d2b0692298fca2655023b3bc6295386a96625e6
2014-04-17 19:55:04 -04:00
Patrick McManus 94cb48efb9 bug 378637 part 1 - add leak detection macros to http classes r=hurley
--HG--
extra : rebase_source : c846cba060509be22a2a3387929ffa724dba7f40
2014-04-21 08:54:07 -04:00
Sylvestre Ledru 2c31abd95e Bug 1003929: Remove some useless declarations in netwerk/protocol/ found by scan-build, the LLVM/Clang static analyzer. r=mcmanus 2014-05-13 17:18:20 +02:00
Ryan VanderMeulen db079aae32 Backed out 11 changesets (bug 378637) for Android crashes.
Backed out changeset 2a607cddc4cb (bug 378637)
Backed out changeset e416503aea99 (bug 378637)
Backed out changeset b2257226899f (bug 378637)
Backed out changeset dafd618c3f52 (bug 378637)
Backed out changeset dfde9d47d8c4 (bug 378637)
Backed out changeset cf9de5c367a5 (bug 378637)
Backed out changeset 62aa68e8b499 (bug 378637)
Backed out changeset 38efa8f2e56e (bug 378637)
Backed out changeset 2b5753e09a92 (bug 378637)
Backed out changeset 7a73873e133d (bug 378637)
Backed out changeset f58ce7ac1c7f (bug 378637)
2014-05-09 15:25:55 -04:00
Patrick McManus f685e08634 bug 378637 part 11 - proxy over TLS (i.e. https proxying) r=hurley
--HG--
extra : rebase_source : 8962538247666781e30eaa3b9673b857ec150204
2014-04-16 09:52:43 -04:00
Patrick McManus ccec8e69d4 bug 378637 part 8 - https proxy info added to connection info and reqeuest head r=hurley
--HG--
extra : rebase_source : 4f3da5ae8a21fbfeee2b4b8dbcfa7dc4990eac61
2014-04-16 09:23:20 -04:00
Patrick McManus 668ffd4224 bug 378637 part 4 - more proactive failed to connect detection in nsHttpConnection r=hurley
--HG--
extra : rebase_source : 6b1637d328c3a78bc1f6ea0e35b912a84f689b24
2014-04-02 17:26:58 -04:00
Patrick McManus 1e80fe1e92 bug 378637 part 3 - fix http style: comments, whitespace, formatters r=hurley
--HG--
extra : rebase_source : 9c9af71e086422ee3dbb5b2f6cf08611252ae456
2014-04-17 19:55:04 -04:00
Patrick McManus 703bf755db bug 378637 part 1 - add leak detection macros to http classes r=hurley
--HG--
extra : rebase_source : 00eb3c046ab80f3b00c4ed8790fc1260a286c2ec
2014-04-21 08:54:07 -04:00
Patrick McManus 1366b6fd61 bug 1003935 - call dontreuse() on reclaimed conns with transaction refs r=sworkman 2014-04-30 13:15:46 -04:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
R Kent James 9d2752314f Bug 698730 - Add username to connection cache hash so NTLM gets correct connection, r=mcmanus 2014-04-26 12:01:39 -07:00