Commit Graph
59 Commits
Author SHA1 Message Date
Chris Peterson dab3fbc2f4 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 59d24fa20e Bug 1228822 - Ensure we send out the window update when matching a pushed stream with a pull stream. r=mcmanus 2015-12-09 10:11:04 -08:00
Nathan Froyd 71fe503663 Bug 1223808 - part 3 - replace nsAutoArrayPtr<T> with UniquePtr<T[]> in netwerk/; r=mcmanus 2015-11-08 21:28:05 -05:00
Daniel Stenberg 3964d34fc6 Bug 1227931 - init Http2Stream::mReceivedData in the constructor. r=nwgh 2015-11-25 05:15:00 +01:00
Patrick McManus f377314c77 Bug 1174899 - fixup log format strings for spdy/h2 r=bagder 2015-11-20 15:33:04 -05:00
Nathan Froyd 638feef71b 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 13606abe97 Bug 1211694 - dataLength has been added twice. r=mcmanus 2015-10-05 14:58:00 +02:00
Carsten "Tomcat" Book 711773fff6 Backed out changeset 9fc04da2a662 (bug 1211694) for perma failures in B2G ICS Emulator opt C1 Tests on a CLOSED TREE 2015-10-20 16:09:13 +02:00
Dragana Damjanovic 90e0314d43 Bug 1211694 - dataLength has been added twice. r=mcmanus 2015-10-05 14:58:00 +02:00
Nathan Froyd 4e6d8f6705 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
2015-10-18 01:24:48 -04:00
Patrick McManus 3685b98fd5 Bug 1213979 - h2 packet formats. r=hurley 2015-10-12 23:56:12 -04:00
Ryan VanderMeulen 88cf80f207 Backout eab6f9c125cc (bug 1211694) to see if it fixes the crashes reported in bug 1213979. a=me 2015-10-12 18:04:55 -04:00
Dragana Damjanovic 0037e81ee0 Bug 1211694 - dataLength has been added twice. r=nwgh 2015-10-11 18:13:10 +02:00
Patrick McManus 25aaa997fb bug 1208114 - fix h2 connect tunnels r=hurley 2015-10-07 12:55:07 -04:00
Wes Kocher 384f3b4fb8 Backed out changeset 3cd86929d883 (bug 1208114) for test_video_playback.py crashes 2015-10-08 13:12:20 -07:00
Patrick McManus be469d24a1 bug 1208114 - fix h2 connect tunnels r=hurley 2015-10-07 12:55:07 -04:00
Nicholas Hurley b46e59152b 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.
2015-09-22 19:58:14 -07:00
Patrick McManus 13da862969 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 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
Nicholas Hurley c0c2ec2206 Bug 1132357 - remove h2-draft* support. r=mcmanus 2015-05-22 14:29:15 -07:00
Patrick McManus 0d2c0e891e 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.
2015-04-09 11:31:59 -04:00
Patrick McManus 3094663f46 bug 1128038 - h2 DAV methods set end_stream bit twice r=hurley 2015-02-02 13:42:23 -05:00
Patrick McManus de182f3301 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 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 f324b419ea bug 1113661 - broken h2 dependency id r=hurley 2014-12-19 13:01:21 -05: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 e841874484 bug 1107881 - h2/spdy :path when proxying shouldn't be absolute uri r=hurley 2014-12-12 11:19:28 -05:00
Nicholas Hurley b8f37776aa Bug 1055306 - Make h2 push origin check more correct. r=mcmanus 2014-11-03 16:19:00 +01:00
Patrick McManus 45b91c0db1 bug 1024730 - nsIHttpPushListener r=hurley
co-author: ben brittain <[email protected]>
2014-10-21 14:35:41 -04:00
Patrick McManus 590bd04d86 bug 1081341 - h2 1xx responses r=hurley 2014-09-27 09:06:38 -04:00
Nicholas Hurley 7ba4697ffa Bug 1046915 - Pref to advertise the latest HTTP/2 draft as "h2". r=mcmanus 2014-09-23 10:49:13 -07:00
Nicholas Hurley f3d5f209d2 Bug 1054173 - Do not fail connections when receiving request headers. r=mcmanus 2014-08-18 14:59:32 -07:00
Nicholas Hurley 9f0dc48e2b Bug 1046892 part 1 - HTTP/2 draft 14 client implementation r=mcmanus 2014-08-05 08:41:09 -07: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
Birunthan Mohanathas 9ca3e6a37d Bug 869836 - Part 11: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-26 21:54:58 +03:00
Birunthan Mohanathas 9c531b5b34 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas 7c5f901fae Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas 1ebdb921a5 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Patrick McManus 9c03366117 bug 1012825 - https proxying over http/2 connect stream r=hurley 2014-05-19 15:37:35 -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 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
Patrick McManus 9972fd6232 bug 378637 part 2 - change some stack nscstrings to spdystream* autocstring r=hurley 2014-04-25 16:01:23 -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 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
Patrick McManus 77738da7d6 bug 378637 part 2 - change some stack nscstrings to spdystream* autocstring r=hurley 2014-04-25 16:01:23 -04:00