Commit Graph

273 Commits

Author SHA1 Message Date
John Schanck
cab60d21a5 Bug 1892528 - part 2: enable Xyber768 in Http/3 under a pref. r=valentin,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D208048
2024-06-05 16:51:37 +00:00
Kershaw Chang
19095073e6 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
c5f354b676 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
fc3326aa20 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
59a8aa8c8e 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
4b629e8b16 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
4d0e2bcf92 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
1b91a2ea96 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
d440ce5b5d 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
2fdd5e56f5 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
def9f8d828 Backed out changeset 75ebf5892d17 (bug 1852924) for frequent fail rate in Bug 1751116 2023-11-09 12:24:35 +02:00
Kershaw Chang
bee198f6c7 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
4ed00b5bf3 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
4d10452601 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
c929c19546 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
c26b3cb742 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
26b46619c2 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
b568ddfaed 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
9e8136e0d5 Backed out changeset a47a1ff34d2a (bug 1853444) for causing failures on /webtransport/. CLOSED TREE 2023-10-30 21:20:48 +02:00
Randell Jesup
aa6b05a9cf 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
8c3291846a 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
8a14fccc91 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
499ee8011b 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
61afb3481c 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
3baf208366 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
285d9c8b4d 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
bf4c81efd1 Backed out changeset cd2b009cdee4 (bug 1816925) for causing bustage on Http3Session.cpp. CLOSED TREE 2023-08-31 21:38:14 +03:00
Randell Jesup
7809cba2e3 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
9c869cb3b0 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
a2649b88ca 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
b766c33afe 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
457b2e5080 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
e0ba50fd2e 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
9a20fb8cb7 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
8295050181 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
f42e6ae3aa 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
07ca3b704a 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
672625c209 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
a7aad34beb 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
004a7034ad 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
9decdab43e 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
5336cab6ac 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
431a56be8a 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
cef694864e 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
6cb964037b 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
8b0458ed11 Backed out changeset 3a9c67c6d582 (bug 1814712) for causing bustages on Logging.h. CLOSED TREE 2023-02-23 01:36:13 +02:00
edgul
42b0fcdf99 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
5b142f7dc7 Backed out changeset 6b49ea08ffb1 (bug 1814712) for causing build bustages on Http3Session.cpp CLOSED TREE 2023-02-22 12:49:27 -05:00
edgul
9ca4f1a950 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
69e41de443 Bug 1814947, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D169937
2023-02-21 08:44:33 +00:00