Commit graph

646 commits

Author SHA1 Message Date
Kershaw Chang
34740ba1c9 Bug 1895535 - Disable fast fastback and connection coalescing for WebTransport, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D209729
2024-05-07 19:53:40 +00:00
Andrew Creskey
a991dd1b1e Bug 1877525 - Consider adding profiler markers at nsHttpConnectionMgr::ProcessNewTransaction and ::DispatchTransaction r=necko-reviewers,valentin
This would allow us to identify requests delayed due to longer transaction pending times.

Differential Revision: https://phabricator.services.mozilla.com/D200055
2024-05-03 12:34:58 +00:00
Kershaw Chang
e9599d34ea Bug 1892325 - Introduce WebTransportSessionEventListenerInternal, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D207919
2024-04-22 08:57:42 +00:00
Kershaw Chang
da04403be3 Bug 1881183 - Migrate network_http_max_response_header_size to static prefs, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D205233
2024-03-21 12:49:02 +00:00
Perry McManis
a0633180f9 Bug 1885179 - single accumulation API integration r=TravisLong,cookie-reviewers,valentin,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D204433
2024-03-19 13:37:15 +00:00
Dennis Jackson
29695cd7ca Bug 1753204 - Retry without 0-RTT after SSL_ERROR_HANDSHAKE_UNEXPECTED_ALERT r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D139302
2024-02-29 08:00:48 +00:00
sunil mayya
41e04657c2 Bug 1858238 - add shutdown check in nsHttpTransaction::Init(). r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D202353
2024-02-22 10:43:03 +00:00
Kershaw Chang
ab300f8d38 Bug 1875559 - Make sure nsHttpTransaction::mCallbacks is accessed inside a lock, r=necko-reviewers,jesup
I am not sure if this fixes the issue, but it'd be great to make sure nsHttpTransaction::mCallbacks is protected by the lock.

Differential Revision: https://phabricator.services.mozilla.com/D199930
2024-02-02 10:49:00 +00:00
Kershaw Chang
7d4f130840 Bug 1866739 - Make HTTP upload throughput keyed by request size, r=acreskey
Differential Revision: https://phabricator.services.mozilla.com/D194729
2023-12-08 12:35:40 +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
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
Andrew Creskey
79af9f75bb Bug 1858256 - Add glean upload performance telemetry r=necko-reviewers,valentin
Adding glean upload throughput probes for android coverage.
We will briefly continue to collect the legacy telemetry HTTP_UPLOAD_BANDWIDTH_MBPS (a keyed histogram) while live experiments depend on it.

Differential Revision: https://phabricator.services.mozilla.com/D190698
2023-10-13 17:15:20 +00:00
Thomas Wisniewski
15067f0746 Bug 1687903 - Enable stricter HTTP response status line parsing; r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186229
2023-08-17 20:09:34 +00:00
Narcis Beleuzu
d1f7ba703f Backed out changeset 01ca7125a61d (bug 1687903) for mochitest failure on test_fetch_basic_http.html . CLOSED TREE 2023-08-17 21:38:08 +03:00
Thomas Wisniewski
5c887984a2 Bug 1687903 - Enable stricter HTTP response status line parsing; r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186229
2023-08-17 14:50:15 +00:00
Natalia Csoregi
51410ffd90 Backed out changeset 4e21d241af64 (bug 1687903) for causing multiple different http failures. CLOSED TREE 2023-08-17 03:37:10 +03:00
Thomas Wisniewski
895aa0d3e8 Bug 1687903 - Enable stricter HTTP response status line parsing; r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186229
2023-08-16 22:57:37 +00:00
Andrew Creskey
3d2f3c74ba Bug 1846798 - Add http download performance telemetry r=necko-reviewers,jesup
We want to monitor our download performance as we make improvements.
Landed as three probes (one per protocol version) instead of a keyed histogram so we could collect on Android.

Differential Revision: https://phabricator.services.mozilla.com/D185666
2023-08-12 14:34:50 +00:00
Butkovits Atila
e8ae881ea8 Backed out changeset f963706197fa (bug 1846798) for causing bustages at nsHttpTransaction.cpp. CLOSED TREE 2023-08-11 00:58:26 +03:00
Andrew Creskey
e99e61fe23 Bug 1846798 - Add http download performance telemetry r=necko-reviewers,jesup
We want to monitor our download performance as we make improvements.
Landed as three probes (one per protocol version) instead of a keyed histogram so we could collect on Android.

Differential Revision: https://phabricator.services.mozilla.com/D185666
2023-08-10 19:45:48 +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
a55748b337 Bug 1828861 - Also check Alpn when selecting the next record for retrying, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D179442
2023-05-31 14:47:23 +00:00
Andrew Creskey
70448c5643 Bug 1830087 - Add http upload performance telemetry r=necko-reviewers,jesup
We want to monitor existing upload performance and also observe the impact of the fix for Bug 1596576.

Differential Revision: https://phabricator.services.mozilla.com/D176554
2023-05-01 13:46:01 +00:00
Kershaw Chang
cd31baf9a1 Bug 1809843 - Add a pref to force using HTTPS RR, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D166643
2023-03-16 21:28:58 +00:00
Valentin Gosu
6fd56978fc Bug 1805372 - Pass effectiveTRRMode to nsHttpChannel from socketTransport/DnsAndConnectSocket r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D164539
2023-03-15 13:00:46 +00:00
Noemi Erli
ee3cbc95c4 Backed out 1 changesets (bug 1805372) for causing wpt failures in nsHttpTransaction.h
Backed out changeset 521c9e019678 (bug 1805372)
2023-03-14 19:24:56 +02:00
Valentin Gosu
ddaf8d81c6 Bug 1805372 - Pass effectiveTRRMode to nsHttpChannel from socketTransport/DnsAndConnectSocket r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D164539
2023-03-14 12:59:40 +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
Marian-Vasile Laza
ee72efd1e9 Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang
61e7a4cfe6 Bug 1809843 - Add a pref to force using HTTPS RR, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D166643
2023-03-13 11:12:32 +00:00
Dana Keeler
35d8f8f0d6 Bug 1817164 - refresh nsHttpTransacation's nsITransportSecurityInfo if reads/writes after the handshake fail r=jschanck,necko-reviewers,valentin
This ensures the transaction's security info has the correct error code.

Differential Revision: https://phabricator.services.mozilla.com/D170258
2023-02-24 17:59:47 +00:00
Kershaw Chang
4ddbffce92 Bug 1815681 - Establish webtransport session when receiving 2xx response, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D169195
2023-02-13 19:46:36 +00:00
Andrew Creskey
11e3473f12 Bug 1765289 - Early Hints: Parse additional header fields for content-policy-security r=necko-reviewers,kershaw,ckerschb,asuth
We capture the CSP header if present and gate the preload on the application of the policy.
A temporary loadInfo, csp, and clientInfo are created as no document yet exists.

Differential Revision: https://phabricator.services.mozilla.com/D162138
2023-01-08 19:40:44 +00:00
Kershaw Chang
8570d8e736 Bug 1799843 - Fix intermittent failures, r=necko-reviewers,jesup
There are several races could happen in WebTransport code and this patch aims to fix them.

Differential Revision: https://phabricator.services.mozilla.com/D165619
2023-01-03 15:14:26 +00:00
Manuel Bucher
56e64fd3be Bug 1803884 - Early Hints: Fix race condition of setting mEarlyHintObserver and dispatching Early Hints in nsHttpTransaction::ParseLineSegment r=necko-reviewers,kershaw
The data race is happening, because `nsHttpTransaction::ParseLineSegment`
can be called before `nsHttpTransaction::AsyncRead`. Initializing it in
`nsHttpTransaction::Init` removes the race condition.

Should fix most early hint intermittent:

* Bug 1744028
* Bug 1746324
* Bug 1760124
* Bug 1775763
* Bug 1803884

Differential Revision: https://phabricator.services.mozilla.com/D164321
2023-01-02 16:30:10 +00:00
Noemi Erli
088a530744 Backed out changeset 40b60e5f1d72 (bug 1803884) for causing mass failures on Linux webrender CLOSED TREE 2022-12-16 20:59:47 +02:00
Manuel Bucher
ef8c92e316 Bug 1803884 - Early Hints: Fix race condition of setting mEarlyHintObserver and dispatching Early Hints in nsHttpTransaction::ParseLineSegment r=necko-reviewers,kershaw
The data race is happening, because `nsHttpTransaction::ParseLineSegment`
can be called before `nsHttpTransaction::AsyncRead`. Initializing it in
`nsHttpTransaction::Init` removes the race condition.

Should fix most early hint intermittent:

* Bug 1744028
* Bug 1746324
* Bug 1760124
* Bug 1775763
* Bug 1803884

Differential Revision: https://phabricator.services.mozilla.com/D164321
2022-12-16 12:34:29 +00:00
Andrew Creskey
5b2573aa94 Bug 1799166 - Early Hints: Parse additional header fields for referrer-policy r=ckerschb,manuel
The early hint may have two referrer policies, one from the response header and one from the link element.

The link header referrer priority, if present, will take precedence over the response referrer policy.

Differential Revision: https://phabricator.services.mozilla.com/D161182
2022-12-06 19:19:18 +00:00
edgul
8001c448d1 Bug 1772213 - Refactored websockets to use Http2StreamTunnel for websocket over http2. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D159541
2022-12-01 14:37:27 +00:00
Dana Keeler
1a2ff46b6e Bug 1791633 - separate nsITLSSocketControl from nsITransportSecurityInfo r=necko-reviewers,kershaw,jschanck
Depends on D160311

Differential Revision: https://phabricator.services.mozilla.com/D160313
2022-11-16 16:37:29 +00:00
Dana Keeler
d8c65c4b8b Bug 1791633 - rename nsISSLSocketControl to nsITLSSocketControl and move it and nsITransportSecurityInfo to PSM r=necko-reviewers,kershaw
Depends on D160310

Differential Revision: https://phabricator.services.mozilla.com/D160311
2022-11-16 16:37:29 +00:00
Marian-Vasile Laza
9c44d165bb Backed out 3 changesets (bug 1791633) for causing bustages on TransportSecurityInfo.cpp. CLOSED TREE
Backed out changeset 23b864e14db0 (bug 1791633)
Backed out changeset 0bcba3375ec0 (bug 1791633)
Backed out changeset ab0ea0d68f5c (bug 1791633)
2022-11-15 23:51:58 +02:00
Dana Keeler
0a13b94a8f Bug 1791633 - separate nsITLSSocketControl from nsITransportSecurityInfo r=necko-reviewers,kershaw,jschanck
Depends on D160311

Differential Revision: https://phabricator.services.mozilla.com/D160313
2022-11-15 20:03:29 +00:00
Dana Keeler
21ac70dabe Bug 1791633 - rename nsISSLSocketControl to nsITLSSocketControl and move it and nsITransportSecurityInfo to PSM r=necko-reviewers,kershaw
Depends on D160310

Differential Revision: https://phabricator.services.mozilla.com/D160311
2022-11-15 20:03:29 +00:00
Butkovits Atila
f3f66bf7e5 Backed out 3 changesets (bug 1791633) for causing build bustages at nsHttpConnectionMgr.cpp:. CLOSED TREE
Backed out changeset ee9744982673 (bug 1791633)
Backed out changeset f5a4bfdaba40 (bug 1791633)
Backed out changeset f57131b9cfe2 (bug 1791633)
2022-11-15 08:07:16 +02:00