Jonathan Hao
bc22b048bf
Bug 1283319 - Add origin attributes to nsHttpConnectionInfo's hash key. r=mayhemer
...
--HG--
extra : rebase_source : a3f95ed223d6658e78daba0268407b7be0b7e16f
2016-08-04 01:17:00 -04:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Franziskus Kiefer
7943c27406
Bug 1290037 - Update keybits in H2, r=mt
...
MozReview-Commit-ID: 35oWoDMqe1Y
--HG--
extra : rebase_source : 020fbd93c190131eb04eed2d583787d6e5954a5a
2016-07-28 16:48:00 +02:00
Patrick McManus
68cdc941e8
Bug 1291814 - enforce h2 increasing push ids. r=hurley
2016-08-03 14:36:50 -04:00
Patrick McManus
558727e2f9
Bug 1275917 - 1st transaction on dontresused h2 session r=hurley
2016-07-05 12:33:34 -04:00
Nicholas Hurley
0c1bd66dda
Bug 1280605 - Update Alt-Svc parser to RFC. r=mcmanus
...
MozReview-Commit-ID: 1N3HuuAimFy
2016-07-06 11:09:53 -07:00
Patrick McManus
d7d8d5b5dc
Bug 1283823 - ASpdySession::ForceIO() safety after h2 Shutdown() r=hurley
2016-07-05 17:43:21 -04:00
Carsten "Tomcat" Book
3b4c79cd57
Backed out changeset 7132b115ab91 (bug 1275917) for causing timeouts in test_notification_http2.js
...
--HG--
extra : rebase_source : efb6ab780e52d75b648f3461bf7c5d526b2c6f3d
2016-07-06 16:39:35 +02:00
Patrick McManus
e066471796
Bug 1275917 - 1st transaction on dontresused h2 session r=hurley
2016-07-05 12:33:34 -04:00
Chris Peterson
11ef78ae89
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
...
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Chris Peterson
2dec5055ef
Bug 1274162 - Fix -Wshadow warnings in netwerk/protocol/http/ directory. r=mcmanus
...
netwerk/protocol/http/nsHttpHeaderArray.h:96:63 [-Wshadow] declaration shadows a field of 'mozilla::net::nsHttpHeaderArray::nsEntry'
netwerk/protocol/http/Http2Session.cpp:2766:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/HttpBaseChannel.cpp:1886:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/HttpChannelChild.cpp:265:53 [-Wshadow] declaration shadows a field of 'mozilla::net::AssociateApplicationCacheEvent'
netwerk/protocol/http/HttpChannelChild.cpp:266:53 [-Wshadow] declaration shadows a field of 'mozilla::net::AssociateApplicationCacheEvent'
netwerk/protocol/http/HttpChannelChild.cpp:2566:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/HttpChannelParent.cpp:397:17 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/InterceptedChannel.cpp:276:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/InterceptedChannel.cpp:285:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/SpdySession31.cpp:2177:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsCORSListenerProxy.cpp:304:30 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpChannel.cpp:796:17 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpChannel.cpp:4474:35 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpChannel.cpp:5915:18 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnection.cpp:982:21 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:1220:43 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:1240:43 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:2247:27 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:2758:23 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpPipeline.cpp:709:30 [-Wshadow] declaration shadows a local variable
2016-05-10 23:57:24 -07:00
Patrick McManus
2722b75b4d
Bug 1267474 - only revalidate strongly framed responses 1/3 r=mayhemer
...
--HG--
extra : rebase_source : 9e00df6a46684032e62da6e2e607a7f65ff63d87
2016-05-04 17:03:59 -04:00
Wes Kocher
1806870b06
Backed out 3 changesets (bug 1267474) foor test_immutable.js failures in xpcshell jobs
...
Backed out changeset 057f3f50441f (bug 1267474)
Backed out changeset 960d93f30c66 (bug 1267474)
Backed out changeset 0c059a0e87d7 (bug 1267474)
2016-05-11 10:32:33 -07:00
Patrick McManus
7f770ceea1
Bug 1267474 - only revalidate strongly framed responses 1/3 r=mayhemer
...
--HG--
extra : rebase_source : 7cd8ceea26962af47daaab5fc786b24a773f3e47
2016-05-04 17:03:59 -04:00
Carsten "Tomcat" Book
79ae391df9
Backed out changeset 81d69d7cf909 (bug 1267474) for bustage on a CLOSED TREE
2016-05-11 16:10:51 +02:00
Patrick McManus
5bce2b10a7
Bug 1267474 - only revalidate strongly framed responses 1/3 r=mayhemer
2016-05-04 17:03:59 -04:00
Dragana Damjanovic
485736ee81
Bug 1247982 - Lock request headers. r=mcmanus
2016-05-03 00:06:00 +02:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Valentin Gosu
c8a94789bb
Bug 1262326 - Make test_user_agent_overrides.html work in e10s r=nwgh
...
* Rename SchedulingContext to RequestContext
* Move SetLoadGroupUserAgentOverride to nsHttpChannel
* Cache the userAgentOverride in RequestContext instead of LoadGroup
MozReview-Commit-ID: FQS9uSRR8kd
--HG--
rename : netwerk/base/SchedulingContextService.cpp => netwerk/base/RequestContextService.cpp
rename : netwerk/base/SchedulingContextService.h => netwerk/base/RequestContextService.h
rename : netwerk/base/nsISchedulingContext.idl => netwerk/base/nsIRequestContext.idl
2016-04-21 16:59:17 +02:00
Nicholas Hurley
65e701bed3
Bug 1122642 - Have an error page for H2 INADEQUATE_SECURITY r=mcmanus,bz
2016-04-22 09:56:42 -07:00
Patrick McManus
e0f8bdd662
Bug 905460 - Convert http legacy refs to smart pointers r=dragana a=kwierso
...
MozReview-Commit-ID: G86Mrv0Cdgk
2016-03-29 15:35:56 -04:00
Patrick McManus
265bd49b07
Bug 1246735 - h2 reset recursive push. r=hurley
...
--HG--
extra : rebase_source : 91c88eacaf31338c0c1c027665ed5d6001e3b843
2016-03-09 09:20:02 -05:00
Patrick McManus
743611280b
Bug 1253358 - Assert no flags on several h2 frame types r=hurley
2016-03-03 16:35:38 -05:00
Patrick McManus
bf8f0696ad
Bug 1253358 - no flags on priority frames r=hurley
2016-03-03 13:33:04 -05:00
Patrick McManus
267eda0f68
Bug 1253358 - minor h2 push fixes r=hurley
2016-03-03 11:48:30 -05:00
Nicholas Hurley
0b3b2a68db
Bug 1246761 - Properly handle non-terminal 0-length DATA frames. r=mcmanus
...
--HG--
extra : rebase_source : 756e42ecea9646b5b0e2770060090437b06b9f9d
2016-03-01 16:28:39 -08:00
Patrick McManus
bb76653375
Bug 1249432 - less h2 parallel conns r=hurley
2016-02-18 17:30:46 -05:00
Patrick McManus
54be97b2ea
Bug 1247205 - dont loop on http2 softerror r=dragana
2016-02-13 20:54:24 -05:00
Patrick McManus
532454b02a
Bug 1240025 - incorrect close state on pushed stream r=hurley
2016-02-10 14:54:32 -05:00
Nicholas Nethercote
900298f2a4
Bug 1187137 (part 7) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=valentin.
...
--HG--
extra : rebase_source : 7326c0f51805e8d38ff7c7996355dfda36be03d7
2016-01-27 19:18:33 -08:00
Nicholas Nethercote
d04f9d9bd4
Bug 1187137 (part 6) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=valentin.
...
--HG--
extra : rebase_source : 7dc26d97543ed93bb0feee7539954316ab36348b
2016-01-27 19:04:38 -08:00
Nicholas Nethercote
0fc6893b11
Bug 1187137 (part 5) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=valentin.
...
--HG--
extra : rebase_source : 87ff74c1f4a66987de60cfc7a77269ae83d2b318
2016-01-27 18:38:45 -08:00
Patrick McManus
7ed406b2be
Bug 1238290 - fix bad necko deps on unified_sources r=valentin.gosu
...
---
netwerk/base/ARefBase.h | 2 ++
netwerk/base/CaptivePortalService.cpp | 1 +
netwerk/base/CaptivePortalService.h | 1 +
netwerk/base/EventTokenBucket.cpp | 4 +++-
netwerk/base/LoadContextInfo.cpp | 3 +++
netwerk/base/LoadInfo.cpp | 3 +++
netwerk/base/MemoryDownloader.cpp | 1 +
netwerk/base/Predictor.cpp | 1 +
netwerk/base/RedirectChannelRegistrar.h | 1 +
netwerk/base/nsBaseChannel.cpp | 1 +
netwerk/base/nsChannelClassifier.cpp | 1 +
netwerk/base/nsDirectoryIndexStream.cpp | 3 ++-
netwerk/base/nsDownloader.cpp | 1 +
netwerk/base/nsIOService.cpp | 1 +
netwerk/base/nsIncrementalDownload.cpp | 3 +++
netwerk/base/nsNetUtil.cpp | 4 ++++
netwerk/base/nsNetUtil.h | 1 +
netwerk/base/nsProtocolProxyService.cpp | 1 +
netwerk/base/nsSecCheckWrapChannel.cpp | 2 ++
netwerk/base/nsUDPSocket.cpp | 4 +++-
netwerk/cache/nsDiskCacheBinding.cpp | 2 +-
netwerk/cache/nsDiskCacheDeviceSQL.cpp | 2 ++
netwerk/cache/nsMemoryCacheDevice.cpp | 2 +-
netwerk/cache2/CacheFileUtils.cpp | 2 ++
netwerk/cache2/CacheStorageService.h | 1 +
netwerk/ipc/NeckoParent.cpp | 1 +
netwerk/ipc/RemoteOpenFileChild.cpp | 1 +
netwerk/protocol/about/nsAboutBloat.cpp | 1 +
netwerk/protocol/about/nsAboutCacheEntry.cpp | 1 +
netwerk/protocol/about/nsAboutProtocolHandler.cpp | 1 +
netwerk/protocol/data/DataChannelParent.cpp | 1 +
netwerk/protocol/file/nsFileProtocolHandler.cpp | 1 +
netwerk/protocol/ftp/FTPChannelParent.cpp | 2 ++
netwerk/protocol/ftp/FTPChannelParent.h | 1 +
netwerk/protocol/ftp/nsFtpConnectionThread.cpp | 1 +
netwerk/protocol/ftp/nsFtpProtocolHandler.h | 1 +
netwerk/protocol/http/Http2Compression.cpp | 1 +
netwerk/protocol/http/Http2Session.cpp | 1 +
netwerk/protocol/http/Http2Stream.h | 2 ++
netwerk/protocol/http/HttpBaseChannel.cpp | 4 ++++
netwerk/protocol/http/HttpBaseChannel.h | 1 +
netwerk/protocol/http/HttpChannelChild.cpp | 25 ++--------------------
netwerk/protocol/http/HttpChannelChild.h | 24 +++++++++++++++++++++
netwerk/protocol/http/HttpChannelParent.cpp | 1 +
netwerk/protocol/http/HttpChannelParent.h | 1 +
.../protocol/http/HttpChannelParentListener.cpp | 1 +
netwerk/protocol/http/HttpChannelParentListener.h | 1 +
netwerk/protocol/http/InterceptedChannel.cpp | 1 +
netwerk/protocol/http/NullHttpChannel.cpp | 1 +
netwerk/protocol/http/NullHttpTransaction.cpp | 1 +
netwerk/protocol/http/PackagedAppService.cpp | 14 ++++++++++--
netwerk/protocol/http/PackagedAppService.h | 4 +++-
netwerk/protocol/http/PackagedAppVerifier.cpp | 1 +
netwerk/protocol/http/nsCORSListenerProxy.cpp | 2 +-
netwerk/protocol/http/nsHttpBasicAuth.cpp | 1 +
netwerk/protocol/http/nsHttpChannel.cpp | 2 ++
netwerk/protocol/http/nsHttpChunkedDecoder.cpp | 1 +
netwerk/protocol/http/nsHttpConnectionInfo.cpp | 2 ++
netwerk/protocol/http/nsHttpConnectionMgr.cpp | 1 +
netwerk/protocol/http/nsHttpDigestAuth.cpp | 1 +
netwerk/protocol/viewsource/nsViewSourceHandler.h | 4 ++++
.../protocol/websocket/BaseWebSocketChannel.cpp | 1 +
.../websocket/WebSocketEventListenerParent.cpp | 1 +
.../protocol/websocket/WebSocketEventService.cpp | 3 +++
netwerk/protocol/websocket/WebSocketFrame.cpp | 2 ++
netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp | 1 +
.../protocol/wyciwyg/nsWyciwygProtocolHandler.cpp | 1 +
netwerk/streamconv/converters/mozTXTToHTMLConv.cpp | 1 +
.../streamconv/converters/nsFTPDirListingConv.cpp | 1 +
.../streamconv/converters/nsHTTPCompressConv.cpp | 2 ++
netwerk/streamconv/converters/nsHTTPCompressConv.h | 1 +
netwerk/streamconv/converters/nsIndexedToHTML.cpp | 1 +
netwerk/streamconv/converters/nsMultiMixedConv.cpp | 2 ++
netwerk/streamconv/converters/nsTXTToHTMLConv.cpp | 2 ++
netwerk/streamconv/converters/nsUnknownDecoder.cpp | 2 ++
75 files changed, 147 insertions(+), 32 deletions(-)
2016-01-08 20:20:50 -05:00
Nicholas Hurley
af06028314
Bug 1236170 - Make Http2Session::UncompressAndDiscard push-aware. r=mcmanus
...
--HG--
extra : commitid : 16EiVpkRWzq
extra : rebase_source : 6146a35424871e8de7cc989acb3479b35921a2a9
2016-01-04 12:17:39 -08:00
Nathan Froyd
9a956c9885
Bug 1223808 - part 3 - replace nsAutoArrayPtr<T> with UniquePtr<T[]> in netwerk/; r=mcmanus
2015-11-08 21:28:05 -05:00
Patrick McManus
ad7e5f708d
Bug 1174899 - discarded spdy data with fin attributed to wrong stream r=bagder
2015-11-22 16:23:18 -05:00
sajitk
8eb3a68c9e
Bug 1201997 - Part 4 - Change size and offset variables to size_t.r=froydn
2015-11-15 14:48:08 +01:00
Nathan Froyd
0d181baf2d
Bug 1219910 - make gSocketThread a relaxed atomic variable; r=mcmanus
...
Many places that (re-)declared gSocketThread already included
nsSocketTransportService2.h; we can delete the declaration for those
places. For all the other places, we need to include
nsSocketTransportService2.h.
2015-11-06 12:00:37 -05:00
Madhurima
a687733788
Bug 1197313 - remove PR_snprintf calls in netwerk/; r=froydnj
2015-10-29 16:07:44 -04:00
Phil Ringnalda
d8a1629175
Back out changeset ea8093d8be6a (bug 1197313) for Linux xpcshell bustage in test_offlinecache_custom-directory.js
...
CLOSED TREE
2015-10-31 12:14:38 -07:00
Madhurima
52b55c546f
Bug 1197313 - remove PR_snprintf calls in netwerk/; r=froydnj
2015-10-29 16:07:44 -04:00
Carsten "Tomcat" Book
4c0ed54e29
Backed out changeset 9093e927a247 (bug 1201997)
...
--HG--
extra : rebase_source : c47b13e37a7756243a68cf15555bf176c0de8600
2015-10-30 15:52:18 +01:00
sajitk
fe2a36f981
Bug 1201997 - Part 4 - Change size and offset variables to size_t.r=froydn
...
--HG--
extra : rebase_source : 0fd59eb6513e1af0162a9a02c6041182e556b9e7
2015-10-29 19:58:00 +01:00
Nicholas Hurley
16a6305536
Bug 1213060 (part 2) - Re-add state assertion in Http2Session::OnWriteSegment. r=mcmanus
...
--HG--
extra : rebase_source : d4752bea750d0d8d252e40d60bc6717a0ce5d57f
2015-10-22 12:48:57 -07:00
Nicholas Hurley
728aabcd9c
Bug 1213060 (part 1) - Properly handle discarding padding in Http2Session::OnWriteSegment. r=mcmanus
...
--HG--
extra : rebase_source : 5351820cd1ac06403b29ee35b02773d98fe233f2
2015-10-26 12:13:53 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Patrick McManus
ad9258704b
bug 1208114 - fix h2 connect tunnels r=hurley
2015-10-07 12:55:07 -04:00
Wes Kocher
163f262ba5
Backed out changeset 3cd86929d883 (bug 1208114) for test_video_playback.py crashes
2015-10-08 13:12:20 -07:00
Patrick McManus
9beb606f8c
bug 1211706 - fix network io loop spin when clearing h2 flow control buffer r=hurley
2015-10-07 17:45:46 -04:00
Patrick McManus
bfd706e3e8
bug 1208114 - fix h2 connect tunnels r=hurley
2015-10-07 12:55:07 -04:00