Commit Graph

518 Commits

Author SHA1 Message Date
Wes Kocher
f28614a4a9 Merge m-c to fx-team a=merge CLOSED TREE 2015-04-20 17:19:07 -07:00
Denis Volk
1872a62df8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Tom Tromey
160d5348d9 Bug 1096908 - forward network security messages to the content process; r=hurley 2015-04-20 11:42:09 -07:00
Wes Kocher
4ebc2f9c4d Backed out changeset dbee7cf7e96f (bug 1096908) for bustage 2015-04-20 11:22:21 -07:00
Tom Tromey
e608f8857d Bug 1096908 - forward network security messages to the content process; r=hurley 2015-04-20 11:09:34 -07: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
Patrick McManus
53f72a17ac Bug 1153936 - nsIHttpChannelInteral attribute to opt out of alt-svc on per channel basis r=hurley 2015-04-13 12:59:34 -04:00
Patrick McManus
16ad90c2ee Bug 1153924 - do not use altsvc with proxy r=hurley 2015-04-13 12:33:10 -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
Dragana Damjanovic
ab9e2c69a4 Bug 1136969 - Add a check that OnStartRequest is called just once during the lifetime of a channel. r=mcmanus 2015-04-02 06:12:00 -04:00
Andrea Marchesini
ad97ae68b8 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Honza Bambas
ea593e1ce3 Bug 1098422 - Change the HTTP cache half-life experiment values. r=jduell 2015-02-27 10:17:00 -05:00
Nikhil Marathe
2bc8435dab Bug 1141332 - Disable content decoding and use decoded length on intercepted channels. r=mcmanus 2015-03-17 08:48:32 -07:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Josh Matthews
b16ec8e114 Bug 1142124 - Never revalidate cache entries for synthesized responses. r=michal 2015-03-11 13:00:38 -04:00
Masatoshi Kimura
e02dab15e1 Bug 1106470 - Drop SSLv3 support from devtools. r=vporof 2015-03-10 01:23:00 +09:00
Valentin Gosu
668a79b267 Bug 1123920 - domainLookupEnd and requestStart out-of-order when using a persistent connection r=mcmanus 2015-02-25 20:23:56 +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
Honza Bambas
b99f87fa7a Bug 1134735 - Don't use tee->InitAsync in nsHttpChannel::InstallCacheListener when using cache2, r=michal 2015-02-19 12:36:00 +01:00
Patrick McManus
2c65815978 bug 1133177 - network logging and cleanups (part 1) r=hurley 2015-02-19 12:21:03 -05:00
Honza Bambas
60a149c90e Bug 1092857 - Drop conditional request headers when there is no cache entry available. r=michal 2015-02-20 06:31:00 -05:00
Christoph Kerschbaumer
afd12b01d1 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in netwerk/ (r=sworkman) 2015-02-17 10:09:31 -08:00
Patrick McManus
e907fb5165 bug 1132808 - HttpBaseChannel::GetPrincipal should return URI prinicipal r=ckerschb r=sicking 2015-02-13 15:54:04 -05:00
Honza Bambas
52288c12e4 Bug 1117763 - Remove range request headers on cache entry open failure. r=michal 2015-02-13 07:54:00 -05:00
Monica Chew
87e2cd9f32 Bug 1130893 - Use GetChannelURIPrincipal instead of GetChannelResultPrincipal in nsChannelClassifier, only call nsChannelClassifier if LOAD_CLASSIFY_URI is set. r=mcmanus r=ckerschb 2015-02-12 22:23:50 -08:00
Honza Bambas
52ac0aab51 Bug 881830 - Make CORS redirect handling ignore redirects due to an STS upgrade. r=bz 2015-02-10 08:00:00 -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
Dragana Damjanovic
3f0e839463 Bug 1106396 - Fix nsHttpChannel::Suspend() in case of content is serve partially from cache and partially from network. r=honzab 2015-01-27 00:50:00 +01:00
Monica Chew
32f2349c1e Bug 1122691: Skip ClassifyLocal unless tracking protection is enabled (r=mcmanus,gcp) 2015-01-21 11:33:07 -08:00
Gijs Kruitbosch
d181f8878e Bug 1125372 - use nsISupports as first param of asyncResolve instead of switching wholesale from nsIURI to nsIChannel, for improved add-on compat, r=mcmanus 2015-01-27 21:30:49 +00:00
Arthur Edelstein
a68e31a789 Bug 436344 - Allow filtering of proxies by channel. r=mcmanus 2015-01-21 21:13:00 +01:00
Wes Kocher
33c21387de Backed out changeset fbe9ba3b1e9a (bug 1122691) for m5 orange 2015-01-21 16:48:57 -08:00
Monica Chew
d1f2b7b86c Bug 1122691: Skip ClassifyLocal unless tracking protection is enabled (r=mcmanus) 2015-01-21 11:33:07 -08:00
Mike Taylor
28e163765c Bug 1121559 - Collect telemetry on WAP content type responses. r=mcmanus 2015-01-16 14:38:00 -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
Monica Chew
b1e48f47e9 Bug 1100024: Don't call Connect if the principal is on a local or remote blocklist (r=mcmanus)
* * *
Bug 1120547 - Mark the overrides of nsIHttpChannelInternal::ContinueBeginConnect as override and rev the uuid of the interface; r=mmc
2015-01-09 13:25:13 -08:00
Monica Chew
d74dff261b Bug 1100024: CLOSED TREE Backout https://hg.mozilla.org/integration/mozilla-inbound/rev/671ad56e6e12 for causing crashes on ClassifyLocal lookups (r=backout) 2015-01-12 10:05:58 -08:00
Chris Peterson
ad426f785b Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Monica Chew
1103936478 Bug 1100024: Don't call Connect if the principal is on a local or remote blocklist (r=mcmanus) 2015-01-09 13:25:13 -08:00
Ehsan Akhgari
7943855e34 Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus 2015-01-02 09:04:04 -05:00
Honza Bambas
6f381e32fb Bug 1102172 - Fix possible appache update hang. r=jduell 2014-12-31 18:22:46 -08: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
d51da3d0b9 bug 1111875 - remove assertion on http size input error r=keeler 2014-12-16 21:35:57 -05:00
Patrick McManus
aef2622e4e Bug 952863, Part 3: Remove more dead code, r=briansmith 2014-12-17 12:58:49 -08:00
Patrick McManus
e841874484 bug 1107881 - h2/spdy :path when proxying shouldn't be absolute uri r=hurley 2014-12-12 11:19:28 -05:00
Masatoshi Kimura
357b6518f2 Bug 1092835 - Log usage of weak ciphers in the console. r=keeler,mcmanus 2014-12-13 20:09:01 +09:00
Ryan VanderMeulen
fbb86fce55 Backed out changesets fb903f13f215, 9c5c712698e4, and 36d257ead3da (bug 1092835) for causing test_csp_allow_https_schemes.html permafail on Android 2.3.
CLOSED TREE
2014-12-09 14:00:47 -05:00