Commit Graph

395 Commits

Author SHA1 Message Date
Razvan Maries
c8e604eb78 Backed out 4 changesets (bug 1660970, bug 1525854, bug 1663657, bug 1645108) for perma failures on test_trr_additional_section.js. CLOSED TREE
Backed out changeset ad6c2e8af09b (bug 1663657)
Backed out changeset 419e26e3f452 (bug 1525854)
Backed out changeset 55bf856faf33 (bug 1660970)
Backed out changeset c543a3a008fa (bug 1645108)
2020-09-15 02:35:05 +03:00
Valentin Gosu
6d149e6e7a Bug 1663657 - Turn IsIpAddr* functions into NetAddr methods r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D89552
2020-09-14 12:06:27 +00:00
Alexis Beingessner
e5dd298d13 Bug 1654807 - update thin-vec to 0.2.1 for potential endianess fix. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D87019
2020-09-14 17:32:40 +00:00
Dragana Damjanovic
3e73bcf0b9 Bug 1664321 - Neqo API has a small change, adapt neqo_glue r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D89829
2020-09-14 07:50:57 +00:00
Dragana Damjanovic
93fcbece5c Bug 1664321 - Update neqo to 0.4.11 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D89828
2020-09-14 07:50:57 +00:00
Dragana Damjanovic
05c4dcd62f Bug 1650388 - Send 0RTT data. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D87231
2020-09-10 20:48:56 +00:00
Dragana Damjanovic
368bae162a Bug 1650388 - Cache and use resumption tokens. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D87230
2020-09-10 20:48:56 +00:00
Dragana Damjanovic
2cb51f4e64 Bug 1659705 - Update neqo to version 0.4.10 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D87441
2020-08-18 13:22:00 +00:00
Dragana Damjanovic
f553ed2172 Bug 1653179 - Handle STOPSENDING on a http3 stream. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D86813
2020-08-13 19:21:53 +00:00
Razvan Maries
8e33fdd15e Backed out changeset f6038d6a0bb1 (bug 1653179) for build bustages on Http3Session.cpp. CLOSED TREE 2020-08-13 19:51:15 +03:00
Dragana Damjanovic
666d322268 Bug 1653179 - Handle STOPSENDING on a http3 stream. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D86813
2020-08-13 15:46:50 +00:00
Valentin Gosu
06b00d0bf4 Bug 1657582 - Add nsIDNSAddrRecord interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,dragana
This interface extends nsIDNSRecord and makes the DNS code more extensible
by allowing us to support more record types.
This change does require the consumer to be aware of the type they requested
and to QueryInterface to either nsIDNSAddrRecord for regular IP lookups,
or to nsIDNSByTypeRecord for other kinds of lookups.

Differential Revision: https://phabricator.services.mozilla.com/D86177
2020-08-12 10:49:39 +00:00
Valentin Gosu
e1f98ce23a Bug 1657582 - Add nsIDNSResolverInfo interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,extension-reviewers,dragana
This patch adds the nsIDNSResolverInfo interface which is used to hold
information about the resolver to be used in a DNS resolution.

We use this to merge all of the *WithTRRServer resolve functions into one.
Passing a resolver info will use that object when appropriate. No resolver
info means that we default to using the system resolver, or the default TRR
resolver.

This patch also converts the RESOLVE_TYPE_* flags into a cenum and adds
the resolveType as a parameter to asyncResolve thus removing the need
to have asyncResolveByType methods.

Differential Revision: https://phabricator.services.mozilla.com/D86176
2020-08-12 08:25:14 +00:00
Bogdan Tara
694b77183c Backed out 2 changesets (bug 1657582) for test_DNSLookup.js failures CLOSED TREE
Backed out changeset 784122a5f5ab (bug 1657582)
Backed out changeset 0f17312b01ad (bug 1657582)
2020-08-12 11:18:06 +03:00
Valentin Gosu
5eeaf52395 Bug 1657582 - Add nsIDNSAddrRecord interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,dragana
This interface extends nsIDNSRecord and makes the DNS code more extensible
by allowing us to support more record types.
This change does require the consumer to be aware of the type they requested
and to QueryInterface to either nsIDNSAddrRecord for regular IP lookups,
or to nsIDNSByTypeRecord for other kinds of lookups.

Differential Revision: https://phabricator.services.mozilla.com/D86177
2020-08-12 01:35:10 +00:00
Valentin Gosu
fc1bf09e47 Bug 1657582 - Add nsIDNSResolverInfo interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,extension-reviewers,dragana
This patch adds the nsIDNSResolverInfo interface which is used to hold
information about the resolver to be used in a DNS resolution.

We use this to merge all of the *WithTRRServer resolve functions into one.
Passing a resolver info will use that object when appropriate. No resolver
info means that we default to using the system resolver, or the default TRR
resolver.

This patch also converts the RESOLVE_TYPE_* flags into a cenum and adds
the resolveType as a parameter to asyncResolve thus removing the need
to have asyncResolveByType methods.

Differential Revision: https://phabricator.services.mozilla.com/D86176
2020-08-12 01:00:39 +00:00
Andy Grover
dce9a42b82 Bug 1657466 - Update to Neqo 0.4.9 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86087
2020-08-06 04:54:05 +00:00
Sylvestre Ledru
e446a298e2 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
# ignore-this-changeset

Depends on D85678

Differential Revision: https://phabricator.services.mozilla.com/D85679
2020-08-02 15:15:26 +00:00
Michal Novotny
5f9a08c120 Bug 1646024 - The Http3 timer sometimes fires too early, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83525
2020-07-23 20:10:17 +00:00
Shane Caraveo
2369b54b63 Bug 1649813 test dns api failure when forwarding dns to socks proxy r=mayhemer,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D83006
2020-07-23 18:50:49 +00:00
Dragana Damjanovic
5204811014 Bug 1652573 - Adapt neqo_glue. r=agrover,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83395
2020-07-15 19:49:36 +00:00
Dragana Damjanovic
f6bbab0c30 Bug 1652573 - Update to neqo version 0.4.8 r=agrover,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83397
2020-07-15 19:49:36 +00:00
Sylvestre Ledru
f7a0736a34 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D83259
2020-07-12 17:01:13 +00:00
Dragana Damjanovic
7ab560a9be Bug 1651489 - Update neqo. r=agrover
Bug 1651489 - Update neqo_glue to support new neqo API(neqo version 0.4.6).

Differential Revision: https://phabricator.services.mozilla.com/D82932
2020-07-10 04:35:17 +00:00
Kershaw Chang
907a9dedd4 Bug 1527256 - P1: Get SocketData from socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D20354
2020-07-08 12:49:44 +00:00
Dragana Damjanovic
7ec7ee4a9b Bug 1646961 - Set the correct version of QUIC to be used when initializing Http3Client from necko. r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D82423
2020-07-06 19:50:20 +00:00
Andy Grover
05abb6839b Bug 1649512 - Update to Neqo 0.4.5 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81763
2020-07-01 08:11:35 +00:00
Simon Giesecke
cd8b8939b9 Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Emilio Cobos Álvarez
7c995807da Bug 1646936 - Generate a single metadata file in the objdir, and feed it to cbindgen. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D80360
2020-06-26 10:41:26 +00:00
Coroiu Cristina
302c2fa31a Backed out changeset 8f948dd74aba (bug 1646936) for SM and Toolchain failures on a CLOSED TREE 2020-06-26 13:08:09 +03:00
Emilio Cobos Álvarez
9c7c03bf30 Bug 1646936 - Generate a single metadata file in the objdir, and feed it to cbindgen. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D80360
2020-06-26 09:37:16 +00:00
Andy Grover
70c8aeee0b Bug 1647769 - Update to Neqo 0.4.4 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80687
2020-06-23 18:51:19 +00:00
Jean-Yves Avenard
87438519f0 Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj
Before P1, GetCurrentThreadSerialEventTarget would have always returned the same data as NS_GetCurrentThread, making the comment incorrect Now it will properly return the running TaskQueue if any.

This change of name more clearly exposes what they are doing, as we aren't always dealing with threads directly; but a nsISerialEventTarget

Differential Revision: https://phabricator.services.mozilla.com/D80354
2020-06-23 05:05:36 +00:00
Andy Grover
caf191f33d Bug 1646106 - Update to Neqo 0.4.3 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79893
2020-06-17 07:09:52 +00:00
Andy Grover
2475b7008d Bug 1644532 - Update to Neqo 0.4.1 r=dragana,necko-reviewers
Default to using draft 27.

Differential Revision: https://phabricator.services.mozilla.com/D78960
2020-06-09 19:39:47 +00:00
Andy Grover
95b90fb23e Bug 1633006 - Update to Neqo 0.4.0 r=dragana,necko-reviewers
Document qlog uses 2 clause bsd license.

Adapt to API changes in glue and http3server

Differential Revision: https://phabricator.services.mozilla.com/D77903
2020-06-02 21:28:31 +00:00
Kershaw Chang
b0ac2c6c92 Bug 1485652 - Reimplement IsAcceptableForHost r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D67949
2020-04-24 14:45:56 +00:00
Kershaw Chang
7829c32789 Bug 1627654 - Setup resumption callback when nsNSSSocketInfo is created r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D69883

--HG--
extra : moz-landing-system : lando
2020-04-08 19:32:31 +00:00
Dragana Damjanovic
eb775d698e Bug 1628459 - Update neqo to 0.2.4 r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D70239

--HG--
extra : moz-landing-system : lando
2020-04-08 21:01:52 +00:00
Valentin Gosu
f29e4186dd Bug 1625213 - Make txt records be resolved with onLookupComplete r=dragana
This patch makes nsIDNSByTypeRecord extend nsIDNSRecord, but implementations
will safely forward the nsIDNSRecord methods to `nullptr`, meaning they will
throw an error when called.

Consumers should try to QI the nsIDNSRecord to nsIDNSByTypeRecord (or any
future types) and use that.

Differential Revision: https://phabricator.services.mozilla.com/D69326

--HG--
extra : moz-landing-system : lando
2020-04-07 12:39:45 +00:00
Dragana Damjanovic
722d96a748 Bug 1626799 - Update Neqo to 0.2.3 r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D69290

--HG--
rename : third_party/rust/neqo-common/src/once.rs => third_party/rust/neqo-crypto/src/once.rs
extra : moz-landing-system : lando
2020-04-01 23:48:22 +00:00
Dragana Damjanovic
f5a03c008e Bug 1623755 - Fix http version parsing. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67549

--HG--
extra : moz-landing-system : lando
2020-03-23 18:38:45 +00:00
Andy Grover
b500f1a581 Bug 1623185 - Update Neqo to 0.2.2 r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67232

--HG--
extra : moz-landing-system : lando
2020-03-17 23:56:48 +00:00
Emilio Cobos Álvarez
62800f568a Bug 1621044 - Update neqo. r=agrover
This pulls a new bindgen version and so on.

See last patch of this bug for the relevant third_party/ code changes.

Differential Revision: https://phabricator.services.mozilla.com/D66280

--HG--
extra : moz-landing-system : lando
2020-03-10 21:04:54 +00:00
Sylvestre Ledru
b2e3d51d34 Bug 1617369 - Reformat netwerk/ using rustfmt r=agrover
Depends on D65897

Differential Revision: https://phabricator.services.mozilla.com/D65901

--HG--
extra : moz-landing-system : lando
2020-03-09 09:48:01 +00:00
Dragana Damjanovic
bb98ad6009 Bug 1605099 - Add some telemetry for http3. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D58063

--HG--
extra : moz-landing-system : lando
2020-03-03 23:11:46 +00:00
Andy Grover
948bb52d09 Bug 1619375 - Update Neqo to 0.2.0 r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65023

--HG--
extra : moz-landing-system : lando
2020-03-03 17:03:45 +00:00
Kershaw Chang
87cd113e41 Bug 1584104 - Add some information needed by parent process to nsITransportSecurityInfo r=keeler
When socket process is enabled, parent process needs some information in `CommonSocketControl`, but `CommonSocketControl` is only accessible in socket process.
This patch moves some data members from `CommonSocketControl` to `nsTransportSecurityInfo` and make it possible for parent process to get the needed data.

Differential Revision: https://phabricator.services.mozilla.com/D64084

--HG--
extra : moz-landing-system : lando
2020-03-02 20:28:15 +00:00
Tooru Fujisawa
9939f785e0 Bug 1612515 - Part 4: Move RunCBindgen.py to /build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D64541

--HG--
rename : layout/style/RunCbindgen.py => build/RunCbindgen.py
extra : moz-landing-system : lando
2020-02-28 14:07:15 +00:00
Kershaw Chang
a1b1d6ff88 Bug 1616549 - Set resumption token again after handshake reset r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D63319

--HG--
extra : moz-landing-system : lando
2020-02-27 12:44:10 +00:00