Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
7deb4a0b43 bug 1102923 - revert stack trace on rst generation r=backout 2015-02-05 08:20:54 -05:00
Patrick McManus
b04e8b7937 bug 1102923 - debug1102923 stack on opt builds too r=hurley 2015-02-04 08:34:11 -05:00
Patrick McManus
24d08bb4c9 bug 1102923 - debug code to get a useful stack during test_spdy.js fail r=hurley 2015-02-02 15:26:08 -05:00
Patrick McManus
e1f56dbdd2 bug 1124717 - 3/4 make h2/spdy default peer max concurrent setting configurable r=hurley 2015-01-26 16:06:44 -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
17ab7f34d2 bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley 2015-01-13 15:26:37 -05:00
Patrick McManus
ff1f7611cc bug 1072478 backout 28fff54451dd for 1119810 and 1119926 r=backout 2015-01-09 15:33:27 -05:00
Patrick McManus
2e8dbf08a9 bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley 2014-10-15 11:51:25 -04:00
Patrick McManus
0b1f45081b bug 1097944 - remove spdy/3 2/2 r=hurley 2014-11-17 12:35:06 -05:00
Honza Bambas
0cf0bcaa7a Bug 1081089 - Move spdy io logs to level 5, r=mcmanus 2014-11-10 16:10:41 +01: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
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
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
Daniel Stenberg
896e58f7b4 Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.

Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER

In HTTP1.1 for Content-Length: and chunked-encoding underruns

In http2 and SPDY for framing errors when data has already been received.

imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Patrick McManus
d49cece06f bug 1025075 - http2 CONNECT streams should have consistent priority r=hurley
---
 netwerk/protocol/http/Http2Session.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession3.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession31.cpp | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

---
 netwerk/protocol/http/Http2Session.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession3.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession31.cpp | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
2014-06-13 09:29:00 -04:00
Patrick McManus
60f9707b98 bug 378637 part 14 - https proxying for spdy31 and http2 r=hurley 2014-05-16 11:46:13 -04:00
Patrick McManus
c42552a198 bug 378637 part 12 - proxy over TLS (i.e. https proxying) r=hurley 2014-04-16 09:52:43 -04:00
Patrick McManus
233a352113 bug 378637 part 10 - implement nsAHttpTransaction::ConnectionInfo r=hurley 2014-04-20 12:01:35 -04:00
Patrick McManus
d59917f107 bug 378637 part 7 - new spdysession() no longer takes first transaction r=hurley 2014-05-16 11:46:11 -04:00
Patrick McManus
cbec6a3a17 bug 378637 part 5 - move Spdy*::EnsureBuffer to nsHttp r=hurley 2014-04-15 17:06:59 -04:00
Patrick McManus
e4716c63eb bug 378637 part 3 - fix http style: comments, whitespace, formatters r=hurley 2014-04-17 19:55:04 -04:00
Ryan VanderMeulen
9ee7c1593b 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
7c5417cb13 bug 378637 part 11 - proxy over TLS (i.e. https proxying) r=hurley 2014-04-16 09:52:43 -04:00
Patrick McManus
5a6bd3cfa8 bug 378637 part 9 - implement nsAHttpTransaction::ConnectionInfo r=hurley 2014-04-20 12:01:35 -04:00
Patrick McManus
97eae8f74e bug 378637 part 6 - implement nsAHttpTransaction::QueryHttpTransaction r=hurley 2014-04-15 17:40:23 -04:00
Patrick McManus
f4898016ea bug 378637 part 5 - move Spdy*::EnsureBuffer to nsHttp r=hurley 2014-04-15 17:06:59 -04:00
Patrick McManus
243f1be072 bug 378637 part 3 - fix http style: comments, whitespace, formatters r=hurley 2014-04-17 19:55:04 -04:00
Nathan Froyd
1d6f398bb1 Bug 986082 - add memory reporters for SPDY zlib buffers; r=hurley,njn 2014-03-20 14:22:17 -04:00
Patrick McManus
28a9cc3085 bug 974932 - spdy large upload chunk sizes, and fewer TLS application data records r=hurley 2014-02-24 16:27:27 -05:00
Honza Bambas
fa962ca7de Bug 965031 - Improve usage of levels of nsHttp log module, r=mcmanus 2014-02-07 22:15:24 +01:00
Patrick McManus
fe72da44d8 bug 965348 - control SocketTransportService::Poll tick during spdy idle r=hurley 2014-01-30 02:29:20 -05:00
Patrick McManus
51d13cce44 bug 959172 - double SpdySession::CleanupStream r=hurley 2014-01-13 10:10:10 -05:00
Patrick McManus
2251efde7c bug 950768 - http/2-draft08 pref off r=hurley r=mcmanus 2013-10-09 17:21:49 -07:00
Patrick McManus
3c8a2c5dd9 bug 955161 - spdy session sometimes shutdown when gecko cancels a sub transaction r=hurley 2014-01-07 07:29:11 -05:00
Steve Workman
3ecb00b3a7 Bug 938803 - Cancel DNS refresh requested in classes implementing nsAHttpTransaction r=mcmanus 2013-11-27 10:19:14 -08:00
Wes Kocher
f8f1ebdba4 Backed out changeset 8a25ee567449 (bug 938803) 2013-11-26 19:44:30 -06:00
Steve Workman
2ab46a68f6 Bug 938803 - Cancel DNS refresh requested in classes implementing nsAHttpTransaction r=mcmanus 2013-11-26 16:09:49 -08:00
Chris Peterson
cd7c7fc2e2 Bug 939576 - Build netwerk/protocol/http in unified mode. r=mcmanus 2013-11-16 21:19:51 -08:00
Birunthan Mohanathas
b73a375748 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-10-23 16:36:09 -04:00
Patrick McManus
3560b8782f bug 922109 - spdy/3 settings frame does not restart window starved streams r=hurley 2013-10-01 17:48:06 -04:00
Patrick McManus
735cad0706 bug 912549 - spdy/3.1 r=hurley 2013-07-26 17:22:46 -04:00