Commit graph

272 commits

Author SHA1 Message Date
Kershaw Chang
078e29080d Bug 1873263 - Disable 0RTT when servCertHashes is presented, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D203587
2024-03-05 10:39:29 +00:00
Marten Richter
ca85c42741 Bug 1873263 - WebTransport: Fix serverCertificateHashes Implementation r=kershaw,necko-reviewers,keeler
The current serverCertificateHashes implementation does not follow the
WebTransport specification, that introduced serverCertificateHashes
as a tool to replace certificate chain verification.
Instead it introduced the hashes as an additional check.
This patch moves the check to the Http3Session object and modifies
the connection manager' hashes to prevent crossSite certificate
poisoning. It is - as the WebTransport Implementation in Firefox -
currently limited to http3 only.
However, since the hashes live on the ConnectionEntries,
it should be possible to extend this in the future.

Differential Revision: https://phabricator.services.mozilla.com/D197857
2024-03-05 10:39:29 +00:00
Sandor Molnar
72866aa04b Backed out changeset b2dd957f853b (bug 1873263) for causing xpc failures @ netwerk/test/unit/test_webtransport_simple.js CLOSED TREE 2024-03-04 14:35:05 +02:00
Marten Richter
5ef566ca7f Bug 1873263 - WebTransport: Fix serverCertificateHashes Implementation r=kershaw,necko-reviewers,keeler
The current serverCertificateHashes implementation does not follow the
WebTransport specification, that introduced serverCertificateHashes
as a tool to replace certificate chain verification.
Instead it introduced the hashes as an additional check.
This patch moves the check to the Http3Session object and modifies
the connection manager' hashes to prevent crossSite certificate
poisoning. It is - as the WebTransport Implementation in Firefox -
currently limited to http3 only.
However, since the hashes live on the ConnectionEntries,
it should be possible to extend this in the future.

Differential Revision: https://phabricator.services.mozilla.com/D197857
2024-03-04 10:54:09 +00:00
Kershaw Chang
a685a9e521 Bug 1881490 - Don't insert the same stream into TX queue, r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D202418
2024-02-28 20:34:40 +00:00
Kershaw Chang
4a12f611f8 Bug 1877942 - neqo v0.7.0, r=necko-reviewers,glandium,supply-chain-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D200461
2024-02-02 21:17:42 +00:00
Kershaw Chang
8e045b102b Bug 1852924 - When pacer returns a small delay, pretend to wait and get the next packet to send, r=mt
Differential Revision: https://phabricator.services.mozilla.com/D191325
2023-11-21 11:49:49 +00:00
Kershaw Chang
5492ae2bb4 Bug 1816677 - Make sure we rewind the request stream when retrying a transaction for different IP address, r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D192565
2023-11-09 19:10:13 +00:00
Randell Jesup
3e19daaab6 Bug 1853444: Set/Get SendOrder for WebTransportSendStreams r=kershaw,necko-reviewers,webidl,smaug
Allow dynamic changes to steram sendOrder to comply with updated
spec.

Differential Revision: https://phabricator.services.mozilla.com/D188377
2023-11-09 16:02:46 +00:00
Noemi Erli
e4935542bd Backed out changeset 75ebf5892d17 (bug 1852924) for frequent fail rate in Bug 1751116 2023-11-09 12:24:35 +02:00
Kershaw Chang
080eb71b98 Bug 1852924 - When pacer returns a small delay, pretend to wait and get the next packet to send, r=mt
Differential Revision: https://phabricator.services.mozilla.com/D191325
2023-11-08 10:11:22 +00:00
Sandor Molnar
02dab0e1bc Backed out changeset aba9f42d60b3 (bug 1816677) for causing xpc failures on netwerk/test/unit/test_http3_dns_retry.js CLOSED TREE 2023-11-07 23:44:36 +02:00
Kershaw Chang
6158777117 Bug 1816677 - Make sure we rewind the request stream when retrying a transaction for different IP address, r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D192565
2023-11-07 13:41:15 +00:00
Cristina Horotan
78baad5002 Backed out changeset f5d7c3a00f2b (bug 1852924) for causing dt failures at mod.rs on a CLOSED TREE 2023-11-06 19:11:56 +02:00
Kershaw Chang
1ad4a1b577 Bug 1852924 - When pacer returns a small delay, pretend to wait and get the next packet to send, r=mt
Differential Revision: https://phabricator.services.mozilla.com/D191325
2023-11-06 11:51:39 +00:00
Iulian Moraru
ab0ad23e9c Backed out changeset 6ac3819ddc53 (bug 1853444) for causing wpt failures on sendorder.https.any.js. CLOSED TREE 2023-11-06 09:57:05 +02:00
Randell Jesup
bc13d2a850 Bug 1853444: Set/Get SendOrder for WebTransportSendStreams r=kershaw,necko-reviewers,webidl,smaug
Allow dynamic changes to steram sendOrder to comply with updated
spec.

Differential Revision: https://phabricator.services.mozilla.com/D188377
2023-11-06 03:51:56 +00:00
Natalia Csoregi
c913384416 Backed out changeset a47a1ff34d2a (bug 1853444) for causing failures on /webtransport/. CLOSED TREE 2023-10-30 21:20:48 +02:00
Randell Jesup
10b97b77c6 Bug 1853444: Set/Get SendOrder for WebTransportSendStreams r=kershaw,necko-reviewers,webidl,smaug
Allow dynamic changes to steram sendOrder to comply with updated
spec.

Differential Revision: https://phabricator.services.mozilla.com/D188377
2023-10-30 14:22:50 +00:00
Kershaw Chang
e8b892b9bc Bug 1852924 - Fill the stream's buffer with data before calling ProcessOutput, r=necko-reviewers,jesup
Note that this patch only improves the upload performance a bit.
We should ensure the stream's buffer is maximally filled before calling ProcessOutput to create packets.

Differential Revision: https://phabricator.services.mozilla.com/D190572
2023-10-11 07:37:37 +00:00
Kershaw Chang
d72dd36929 Bug 1784261 - Add telemetry to understand the reason of connection closure, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188132
2023-09-21 08:59:03 +00:00
Sandor Molnar
102eaf288c Backed out changeset 373bc48d5325 (bug 1784261) for causing build bustages on netwerk/protocol/http/nsHttpConnection.cpp 2023-09-19 02:36:39 +03:00
Kershaw Chang
d46e106ab2 Bug 1784261 - Add telemetry to understand the reason of connection closure, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188132
2023-09-18 14:44:18 +00:00
Kershaw Chang
58f7387a5d Bug 1851679 - Handle queuing of streams properly, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187542
2023-09-07 08:28:21 +00:00
Randell Jesup
8f84afb9b3 Bug 1816925: Implement WebTransport SendOrder at the DOM level r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178491
2023-08-31 20:51:49 +00:00
Natalia Csoregi
f09dafe309 Backed out changeset cd2b009cdee4 (bug 1816925) for causing bustage on Http3Session.cpp. CLOSED TREE 2023-08-31 21:38:14 +03:00
Randell Jesup
0d5b60fd40 Bug 1816925: Implement WebTransport SendOrder at the DOM level r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178491
2023-08-31 17:58:51 +00:00
dylan
3292b9389e Bug 1834699 - Changed CloseError::Tag::EchRetry telemetry value to align with bucket size. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184589
2023-08-14 13:00:45 +00:00
Randell Jesup
b8af5a77f1 Bug 1841290: implement 'cleanly' parameter for WebTransport session shutdown r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182603
2023-08-04 23:19:44 +00:00
Kershaw Chang
fc2898f123 Bug 1816677 - Allow to retry diffrent IP family for Http/3, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D180679
2023-06-28 17:20:41 +00:00
Narcis Beleuzu
7ae0c765b0 Backed out changeset dfe0fed4de68 (bug 1816677) for xpcshell failure on test_http3_dns_retry.js . CLOSED TREE 2023-06-24 00:42:37 +03:00
Kershaw Chang
818d909b26 Bug 1816677 - Allow to retry diffrent IP family for Http/3, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D180679
2023-06-23 15:00:48 +00:00
Butkovits Atila
7d7bba388d Backed out changeset 9ccaad4630db (bug 1816677) for causing DNS related crashes (bug 1837252). a=backout 2023-06-09 12:33:06 +03:00
Kershaw Chang
07e167fb3b Bug 1816677 - Allow to retry diffrent IP family for Http/3, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D179541
2023-06-06 11:15:18 +00:00
Kershaw Chang
952ba710e6 Bug 1818756 - Propagate stream error code from server to client, r=jesup,necko-reviewers,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D174237
2023-05-04 13:40:59 +00:00
Kershaw Chang
7f20106a49 Bug 1818756 - Propagate stream error code from client to server, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171267
2023-05-04 13:40:59 +00:00
Dennis Jackson
169bf38e15 Bug 1822876: Add H3 ECH Telemetry. r=kershaw,necko-reviewers
This patch adds telemetry which records when H3 connections succeed / fail
and what kind of ECH they used. Our H3 ECH tests are extended to test these
different modes and that the telemetry is recorded correctly.

Differential Revision: https://phabricator.services.mozilla.com/D172813
2023-03-26 07:31:40 +00:00
Kershaw Chang
6c5beed2e2 Bug 1823417 - Don't exclude Http3 origin for WebTransport, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D173039
2023-03-23 09:38:33 +00:00
Randell Jesup
02f7dcdf76 Bug 1820776: Cleanup H3Session r=kershaw,valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171900
2023-03-22 02:21:48 +00:00
Cristian Tuns
387d191ab4 Backed out 6 changesets (bug 1820776, bug 1820434, bug 1822138, bug 1822038, bug 1821146, bug 1791835) for causing build bustages on WebTransportDatagramDuplexStream.cpp CLOSED TREE
Backed out changeset 4a866db45f1a (bug 1822038)
Backed out changeset 889174ce36fd (bug 1821146)
Backed out changeset 39f22b088301 (bug 1820434)
Backed out changeset c93fec9914f5 (bug 1822138)
Backed out changeset 914ee3f0f3ee (bug 1791835)
Backed out changeset 43beacf35d14 (bug 1820776)
2023-03-21 17:24:20 -04:00
Randell Jesup
74ba2fecf7 Bug 1820776: Cleanup H3Session r=kershaw,valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171900
2023-03-21 16:09:08 +00:00
Gijs Kruitbosch
f1911aef9a Bug 1718082 - track current tab using browserId instead of top browsing context id for network prioritization purposes, r=nika,mconley,necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D171646
2023-03-13 17:32:08 +00:00
Valentin Gosu
3af3e512ed Bug 1772057 - Add OSError to log when an error occurs in Http3Session::ProcessOutput calling SendWithAddress r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D171708
2023-03-06 14:09:10 +00:00
edgul
98e1a09821 Bug 1814712 - Added code and reason forwarding to necko WebTransport from neqo on server-initiated close. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170229
2023-02-23 13:31:10 +00:00
Csoregi Natalia
66c3cdb1b2 Backed out changeset 3a9c67c6d582 (bug 1814712) for causing bustages on Logging.h. CLOSED TREE 2023-02-23 01:36:13 +02:00
edgul
9e0656b82b Bug 1814712 - Added code and reason forwarding to necko WebTransport from neqo on server-initiated close. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170229
2023-02-22 19:07:40 +00:00
Cristian Tuns
177a0dc6e7 Backed out changeset 6b49ea08ffb1 (bug 1814712) for causing build bustages on Http3Session.cpp CLOSED TREE 2023-02-22 12:49:27 -05:00
edgul
3e91f3bb10 Bug 1814712 - Added code and reason forwarding to necko WebTransport from neqo on server-initiated close. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170229
2023-02-22 16:33:03 +00:00
Kershaw Chang
9e6f57cb94 Bug 1814947, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D169937
2023-02-21 08:44:33 +00:00
Randell Jesup
f3c752bf14 Bug 1817369: Don't stop processing events when we see a WebTranport Session event r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170166
2023-02-17 11:51:58 +00:00