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

73 Коммитов

Автор SHA1 Сообщение Дата
Jinank Jain f2776091ea Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
--HG--
extra : rebase_source : b3e4c3e7c81799f2b1f3ec62ba3ff3b5d3adba27
2016-08-23 11:24:54 -04: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
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
Patrick McManus f2d272afa3 Bug 1259459 - h2 0 length options puts end-stream on headers r=hurley 2016-03-18 14:08:01 -04: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
Patrick McManus 57205a2a42 Bug 1249379 - H2 Push WindowUpdate not written to network r=hurley 2016-02-18 15:00:46 -05:00
Patrick McManus 0acb222f9a Bug 1248203 - streamline h2 stream flow control buffer r=hurley 2016-02-13 12:10:02 -05:00
Valentin Gosu 82a16a09cb Bug 241788 - net_FilterURIString should filter \r\n\t from the entire URL r=honzab
* net_ExtractURLScheme now uses mozilla::Tokenizer
* net_FilterURIString also filters characters in the scheme now
* removed startPos and endPos parameters for net_FilterURIString and introduced net_IsAbsoluteURL
2016-02-05 14:45:08 +01:00
Chris Peterson 03f5630fd2 Bug 1235298 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in netwerk/. r=mcmanus 2015-11-22 21:58:33 -08:00
Nicholas Hurley a6d6d5ef55 Bug 1228822 - Ensure we send out the window update when matching a pushed stream with a pull stream. r=mcmanus
--HG--
extra : commitid : D6pRH1pTQe6
extra : rebase_source : 0b1d5f10a9ebeda7b037e2c147f426908ef241a2
2015-12-09 10:11:04 -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
Daniel Stenberg 1a4f344e08 Bug 1227931 - init Http2Stream::mReceivedData in the constructor. r=nwgh 2015-11-25 05:15:00 +01:00
Patrick McManus cb590dc42e Bug 1174899 - fixup log format strings for spdy/h2 r=bagder 2015-11-20 15:33:04 -05: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
Dragana Damjanovic 2e111f2bed Bug 1211694 - dataLength has been added twice. r=mcmanus 2015-10-05 14:58:00 +02:00
Carsten "Tomcat" Book dab1222aac Backed out changeset 9fc04da2a662 (bug 1211694) for perma failures in B2G ICS Emulator opt C1 Tests on a CLOSED TREE
--HG--
extra : rebase_source : 9a83f398604b155849dc128fb029e35f4c6b023a
2015-10-20 16:09:13 +02:00
Dragana Damjanovic 1fe2f40e7d Bug 1211694 - dataLength has been added twice. r=mcmanus
--HG--
extra : rebase_source : 1257d714d47126059bcf368a316252eca70b7e81
2015-10-05 14:58:00 +02: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 03d026b624 Bug 1213979 - h2 packet formats. r=hurley 2015-10-12 23:56:12 -04:00
Ryan VanderMeulen 89f4a647c5 Backout eab6f9c125cc (bug 1211694) to see if it fixes the crashes reported in bug 1213979. a=me
--HG--
extra : amend_source : f08a20212360b2729c3a313c818981d806c12321
2015-10-12 18:04:55 -04:00
Dragana Damjanovic daeb9f7f13 Bug 1211694 - dataLength has been added twice. r=nwgh 2015-10-11 18:13:10 +02: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 bfd706e3e8 bug 1208114 - fix h2 connect tunnels r=hurley 2015-10-07 12:55:07 -04:00
Nicholas Hurley 90183c451d Bug 1197847 - Disallow folded headers in h2. r=mcmanus
This also fixes a lot of situations in which we could get a compression
state out of sync with the server, which would be Very Bad.

--HG--
extra : rebase_source : 53b87c3cacd34c496f4c63cddda606d005a383e5
2015-09-22 19:58:14 -07:00
Patrick McManus 60d6db97ae bug 1204614 - use h2 per stream flow control to deal with suspended channels r=hurley 2015-09-11 15:53:27 -04:00
Nicholas Hurley 16407ea724 Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL
--HG--
extra : rebase_source : 24dd37c6eaec83a1776d77632b97106e8abb8015
2015-07-31 13:50:08 -07:00
Birunthan Mohanathas a8939590de 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
Nicholas Hurley e1ec45716a Bug 1132357 - remove h2-draft* support. r=mcmanus 2015-05-22 14:29:15 -07:00
Patrick McManus 6c728ddf43 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.

--HG--
extra : rebase_source : f9cc87b92084025443bc0374b1dd994f01662ebb
2015-04-09 11:31:59 -04:00
Patrick McManus 92c38efcb0 bug 1128038 - h2 DAV methods set end_stream bit twice r=hurley 2015-02-02 13:42:23 -05:00
Patrick McManus 175d69c75b bug 1124717 - 1/4 h2/spdy fix spin when queuing post/put request over concurrent limit r=hurley 2015-01-23 11:22:22 -05:00
Patrick McManus d0d97ad7ef bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley
--HG--
extra : rebase_source : 4c49f74dc4b7ed8cead65dc3c78a2c8ae5ddf5e3
2015-01-13 15:26:37 -05:00
Patrick McManus b8b9d7491a bug 1072478 backout 28fff54451dd for 1119810 and 1119926 r=backout
--HG--
extra : rebase_source : 46e7ccae81bf27f468171c240a926d421366a33b
2015-01-09 15:33:27 -05:00
Patrick McManus e7a182ce97 bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley 2014-10-15 11:51:25 -04:00
Patrick McManus 9a8c661ddd bug 1113661 - broken h2 dependency id r=hurley 2014-12-19 13:01:21 -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 ea37d24bba bug 1107881 - h2/spdy :path when proxying shouldn't be absolute uri r=hurley
--HG--
extra : rebase_source : d0847b03e2f7cd2f5425e3de635b68248d49eec3
2014-12-12 11:19:28 -05:00
Nicholas Hurley 3ba70bdea8 Bug 1055306 - Make h2 push origin check more correct. r=mcmanus 2014-11-03 16:19:00 +01: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 aec785a65a bug 1081341 - h2 1xx responses r=hurley 2014-09-27 09:06:38 -04:00
Nicholas Hurley 000ef68cf1 Bug 1046915 - Pref to advertise the latest HTTP/2 draft as "h2". r=mcmanus 2014-09-23 10:49:13 -07:00
Nicholas Hurley f19d15e618 Bug 1054173 - Do not fail connections when receiving request headers. r=mcmanus 2014-08-18 14:59:32 -07:00
Nicholas Hurley 8446acda81 Bug 1046892 part 1 - HTTP/2 draft 14 client implementation r=mcmanus 2014-08-05 08:41:09 -07:00