1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-04-19 01:04:16 +03:00

13665 Commits

Author SHA1 Message Date
Joanna Jo
1f4291ff88 Remove RFC 7540 priority from parsing functions
Summary:
Removing `http2::PriorityUpdate` parameters from parsing functions (`parseHeaders()`, `parseExHeaders()`, `parseHeadersImpl()`, `parseHeadersDecodeFrames()`, `parseHeadersCheckConcurrentStreams()`) in the H2 framer and codec.

Also renaming `parsePriorityCommon()` to `skipPriority()`, but this will be removed once we stop writing RFC 7540 priorities to the headers.

Reviewed By: hanidamlaj

Differential Revision: D72821246

fbshipit-source-id: 7292120aedeb6b6ed1be766c60ff2603f373315e
2025-04-18 11:13:12 -07:00
Joanna Jo
a10140873f Remove parsePriority() from H2 framer and codec
Summary: Removing RFC 7540 `parsePriority()` from `HTTP2Framer` and `HTTP2Codec`.

Reviewed By: hanidamlaj

Differential Revision: D72804101

fbshipit-source-id: aea2940ca5b307a90b781e9a79fe69adf7379556
2025-04-18 11:13:12 -07:00
Open Source Bot
c13d0a65c6 Updating submodules
Summary:
GitHub commits:

c4d46439b0
8b71070e61
568daee403
741dc56e1a
8f3cb8961c
9023b2d3c6
c9d76a1ea4
26e6db177a
aa8924058d
3999a4b857
0068126896

Reviewed By: ajb85

fbshipit-source-id: b81cfdeacc7c3c8bd89f8ab497c6aa4a3f45d799
2025-04-18 09:34:57 -07:00
generatedunixname89002005287564
9023b2d3c6 Fix CQS signal. Id] 20115360 -- readability-redundant-string-init in fbcode/proxygen/httpserver
Reviewed By: dtolnay

Differential Revision: D73177224

fbshipit-source-id: dda71185eab835b1eb2b93efb825018eeba2d15e
2025-04-17 09:50:43 -07:00
Open Source Bot
e058087e95 Updating submodules
Summary:
GitHub commits:

c555e54c59
31f4f6d811
bfe74d8f19
c27cbd2068
d55b54e5c2
47da181ae8
30f9dda460
5e47619f57
a0443bec80
26549b6952
b0a0becae5
f27617ff0a
8c4783d2ba

Reviewed By: ajb85

fbshipit-source-id: 69973e77887a5af9533d6e15b6160b3fd014f82d
2025-04-17 09:42:23 -07:00
generatedunixname89002005287564
30f9dda460 Fix CQS signal. Id] 1540596 -- readability-redundant-string-init in fbcode/proxygen/lib/http
Reviewed By: dtolnay

Differential Revision: D73097505

fbshipit-source-id: 43f1a9cdcf24c7ef3e660bc6737818eba0747944
2025-04-16 20:27:01 -07:00
Rongxin Xia
f7d2f6490c add pro-rate softIRQ cpu util to cgroup cpu util
Summary:
add a flag `useProRateSoftIrq` to `CgroupResources`, and if set to true, calculate the pro-rate softIRQ cpu util and add it to cgroup cpu util.

The pro-rate softIRQ cpu util is calculated based on the cgroup sys cpu  and host sys/softirq cpu, considering softirq is more proportional to sys cpu

```
cgroup softirq cpu = cgroup sys cpu * host softirq cpu / host sys cpu
```

 ---

##  Why we want to add softirq util to cgroup util?

More context in [here](https://fb.workplace.com/groups/824443335270106/permalink/1336833844031050/) but TLDR softirq is running in kernel and is not counted as cgroup util. For services like revproxy/fwdproxy, we have high softirq util, which is not counted in cgroup util, causing cgroup util is much lower than the actual usage. **And sometimes host is overloaded while cgroup cpu is still fine.**

Before container team finalizes the solution for this issue. As we already have a lot jobs tracking cgroup stats (stacking), let's add a pro-rate softirq to cgroup cpu util as a short term mitigation for this issue.

----

For now I only make this change enabled with
- a JK `revproxy/knobs:use_pro_rate_softirq` (now set to true)
- for revproxy if `FLAGS_use_cgroup_resource` is set, which is only true for all revproxy on stacking (slb.latest/ two slb.prod_reigonal p1/p2)

let's bake it for a while before enabling it for fwdproxy.

Reviewed By: meleshuk

Differential Revision: D72987549

fbshipit-source-id: 947f3da1f0c7f12f6b5465f1602b6da351869eae
2025-04-16 10:30:05 -07:00
Rongxin Xia
a2a156c53a change setCpuStats to taking a struct instead of multiple individual arguments.
Summary:
This diff is to change the function in `ResourceData` from

```
 void setCpuStats(double cpuUsageRatio,
                   std::vector<double>&& cpuCoreUsageRatios,
                   double cpuUtilPercentileConfigured,
                   double cpuRatioUtilPercentile,
                   double cpuSoftIrqUsageRatio,
                   std::vector<double>&& softIrqCpuCoreRatioUtils)
```

to

```

struct CpuStats {
  double cpuUsageRatio;
  std::vector<double> cpuCoreUsageRatios;
  double cpuUtilPercentileConfigured;
  double cpuRatioUtilPercentile;
  double cpuSoftIrqUsageRatio;
  std::vector<double> softIrqCpuCoreRatioUtils;
};

void setCpuStats(CpuStats&& cpuStats)
```

This would improve readability and maintainability. And moreover, with this the calculation of pro-rated softIRQ for container cpu in next diff would be much cleaner

Differential Revision: D72981429

fbshipit-source-id: 29b7279c61519464b6fe006bf96b01826732b33f
2025-04-16 10:30:05 -07:00
Open Source Bot
5880a2d987 Updating submodules
Summary:
GitHub commits:

4cb76c0a4e
13f84368e4
36a22229bb
ad44b84f92
5c28840e5f
3f8d21fc2f
55a510bc67
b754dc20f6
4587b3bb8e
1c98bd3657
29e3dcc536
00e8d767d1

Reviewed By: ajb85

fbshipit-source-id: 25b2925262bbfaf2f8929067fabf9cac45ddef0e
2025-04-16 09:35:09 -07:00
Open Source Bot
3f8d21fc2f Updating submodules
Summary:
GitHub commits:

51152a0177
510e5002a3
9596404b84
6ece0342d4
1235f654d1
5237d93b45
b4cc1db929
165d5f9c03
6506d3e69c
4a1dfd710d
2ac5daa88d
af29096cc0

Reviewed By: ajb85

fbshipit-source-id: 2c204d2e211579752742536b94b4eb9ac3ea91a4
2025-04-15 09:34:28 -07:00
dependabot[bot]
51cf991036 Bump docker/build-push-action from 6.10.0 to 6.15.0 (#552)
Summary:
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.10.0 to 6.15.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/docker/build-push-action/releases">docker/build-push-action's releases</a>.</em></p>
<blockquote>
<h2>v6.15.0</h2>
<ul>
<li>Bump <code>@​docker/actions-toolkit</code> from 0.55.0 to 0.56.0 in <a href="https://redirect.github.com/docker/build-push-action/pull/1330">docker/build-push-action#1330</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v6.14.0...v6.15.0">https://github.com/docker/build-push-action/compare/v6.14.0...v6.15.0</a></p>
<h2>v6.14.0</h2>
<ul>
<li>Bump <code>@​docker/actions-toolkit</code> from 0.53.0 to 0.55.0 in <a href="https://redirect.github.com/docker/build-push-action/pull/1324">docker/build-push-action#1324</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v6.13.0...v6.14.0">https://github.com/docker/build-push-action/compare/v6.13.0...v6.14.0</a></p>
<h2>v6.13.0</h2>
<ul>
<li>Bump <code>@​docker/actions-toolkit</code> from 0.51.0 to 0.53.0 in <a href="https://redirect.github.com/docker/build-push-action/pull/1308">docker/build-push-action#1308</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v6.12.0...v6.13.0">https://github.com/docker/build-push-action/compare/v6.12.0...v6.13.0</a></p>
<h2>v6.12.0</h2>
<ul>
<li>Bump <code>@​docker/actions-toolkit</code> from 0.49.0 to 0.51.0 in <a href="https://redirect.github.com/docker/build-push-action/pull/1300">docker/build-push-action#1300</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v6.11.0...v6.12.0">https://github.com/docker/build-push-action/compare/v6.11.0...v6.12.0</a></p>
<h2>v6.11.0</h2>
<ul>
<li>Handlebar <code>defaultContext</code> support for <code>build-contexts</code> input by <a href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a href="https://redirect.github.com/docker/build-push-action/pull/1283">docker/build-push-action#1283</a></li>
<li>Bump <code>@​docker/actions-toolkit</code> from 0.46.0 to 0.49.0 in <a href="https://redirect.github.com/docker/build-push-action/pull/1281">docker/build-push-action#1281</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v6.10.0...v6.11.0">https://github.com/docker/build-push-action/compare/v6.10.0...v6.11.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="471d1dc4e0"><code>471d1dc</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1330">#1330</a> from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
<li><a href="b89ff0a6f2"><code>b89ff0a</code></a> chore: update generated content</li>
<li><a href="1e3ae3a4d3"><code>1e3ae3a</code></a> chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.55.0 to 0.56.0</li>
<li><a href="b16f42f92a"><code>b16f42f</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1325">#1325</a> from crazy-max/buildx-edge</li>
<li><a href="dc0fea5e62"><code>dc0fea5</code></a> ci: update buildx to edge and buildkit to latest</li>
<li><a href="0adf995921"><code>0adf995</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1324">#1324</a> from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
<li><a href="d88cd289df"><code>d88cd28</code></a> chore: update generated content</li>
<li><a href="3d09a6bd70"><code>3d09a6b</code></a> chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.53.0 to 0.55.0</li>
<li><a href="ca877d9245"><code>ca877d9</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1308">#1308</a> from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
<li><a href="d2fe919bb5"><code>d2fe919</code></a> chore: update generated content</li>
<li>Additional commits viewable in <a href="48aba3b46d...471d1dc4e0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/build-push-action&package-manager=github_actions&previous-version=6.10.0&new-version=6.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/proxygen/pull/552

Reviewed By: kvtsoy

Differential Revision: D72984273

Pulled By: afrind

fbshipit-source-id: 7bb3fd590833ca44ecf307c6b791a924847d71fa
2025-04-15 09:08:43 -07:00
dependabot[bot]
034fdad836 Bump docker/metadata-action from b53be03109c4ef6f6cc7aa545b84b17a7fe51c1e to 902fa8ec7d6ecbf8d84d538b9b233a880e428804 (#553)
Summary:
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from b53be03109c4ef6f6cc7aa545b84b17a7fe51c1e to 902fa8ec7d6ecbf8d84d538b9b233a880e428804.
<details>
<summary>Commits</summary>
<ul>
<li><a href="902fa8ec7d"><code>902fa8e</code></a> Merge pull request <a href="https://redirect.github.com/docker/metadata-action/issues/504">https://github.com/facebook/proxygen/issues/504</a> from docker/dependabot/npm_and_yarn/semver-7.7.1</li>
<li><a href="c30b9c27e6"><code>c30b9c2</code></a> chore: update generated content</li>
<li><a href="0698804aab"><code>0698804</code></a> chore(deps): Bump semver from 7.6.3 to 7.7.1</li>
<li><a href="bb3eecaaf8"><code>bb3eeca</code></a> Merge pull request <a href="https://redirect.github.com/docker/metadata-action/issues/501">https://github.com/facebook/proxygen/issues/501</a> from docker/dependabot/npm_and_yarn/moment-timezone-0...</li>
<li><a href="94a839cf6a"><code>94a839c</code></a> chore: update generated content</li>
<li><a href="ecd51a0f6a"><code>ecd51a0</code></a> Merge pull request <a href="https://redirect.github.com/docker/metadata-action/issues/509">https://github.com/facebook/proxygen/issues/509</a> from docker/dependabot/npm_and_yarn/docker/actions-to...</li>
<li><a href="a85b1dbfe6"><code>a85b1db</code></a> chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.55.0 to 0.56.0</li>
<li><a href="5a76a0efcf"><code>5a76a0e</code></a> chore(deps): Bump moment-timezone from 0.5.46 to 0.5.47</li>
<li><a href="1cc4a9856a"><code>1cc4a98</code></a> Merge pull request <a href="https://redirect.github.com/docker/metadata-action/issues/482">https://github.com/facebook/proxygen/issues/482</a> from docker/dependabot/npm_and_yarn/csv-parse-5.6.0</li>
<li><a href="d84de1e022"><code>d84de1e</code></a> chore: update generated content</li>
<li>Additional commits viewable in <a href="b53be03109...902fa8ec7d">compare view</a></li>
</ul>
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/proxygen/pull/553

Reviewed By: kvtsoy

Differential Revision: D72984309

Pulled By: afrind

fbshipit-source-id: 29deeac4919fd5815dbf4163a1227e5258f2a552
2025-04-15 09:07:43 -07:00
dependabot[bot]
acb833d4d3 Bump docker/login-action from 7ca345011ac4304463197fac0e56eab1bc7e6af0 to 327cd5a69de6c009b9ce71bce8395f28e651bf99 (#543)
Summary:
Bumps [docker/login-action](https://github.com/docker/login-action) from 7ca345011ac4304463197fac0e56eab1bc7e6af0 to 327cd5a69de6c009b9ce71bce8395f28e651bf99.
<details>
<summary>Commits</summary>
<ul>
<li><a href="327cd5a69d"><code>327cd5a</code></a> Merge pull request <a href="https://redirect.github.com/docker/login-action/issues/838">#838</a> from crazy-max/bake-v6</li>
<li><a href="e217ef3a2d"><code>e217ef3</code></a> update bake-action to v6</li>
<li>See full diff in <a href="7ca345011a...327cd5a69d">compare view</a></li>
</ul>
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/proxygen/pull/543

Reviewed By: kvtsoy

Differential Revision: D72984247

Pulled By: afrind

fbshipit-source-id: ac8e6b71bbf15993d1ceda39736995398f6d77e7
2025-04-15 08:49:59 -07:00
Open Source Bot
165d5f9c03 Updating submodules
Summary:
GitHub commits:

8251b1eab8
0671a9a1c8
5e97287f9a
fbfab6c247
44dcdf8670
d66ac349f8
d749435e67
fab9bcd3e3
d0b82dccb4

Reviewed By: ajb85

fbshipit-source-id: e2c4d050c6027f9e20f6335a74a392f8a2fd96a7
2025-04-14 10:33:04 -07:00
Open Source Bot
d66ac349f8 Updating submodules
Summary:
GitHub commits:

a977197a97
c013d6d0e8
d0115e3961
51c659b23f
523b1c7da9
1d41635a28
a23a2d9f29
0764005eb7
6b7c1fd848
010c0c62dd

Reviewed By: JurjenLelifeld

fbshipit-source-id: aa3469f8332c934665574ad8b865a3caf5e76302
v2025.04.14.00
2025-04-13 09:33:40 -07:00
Open Source Bot
523b1c7da9 Updating submodules
Summary:
GitHub commits:

f849a4169b
6ca452983d
9d7b7fdbc5
174eed980e
58d7c06951
64d7d57042
8428eca3b2
38b75ba43f
3261eeaf9d
40c1107077
009e00fbc0
a213e53205

Reviewed By: JurjenLelifeld

fbshipit-source-id: a85d762215811f6d27b217ce2e87f638977ac40d
2025-04-12 09:33:35 -07:00
Open Source Bot
64d7d57042 Updating submodules
Summary:
GitHub commits:

8188cbe9d0
e264f26452
e7d5064878
d7f895f210
0e505bcf7e
b81c086d09
939386e6bf
0240c99e3c
ae8d4d69f7
5bd5a4cb89
eeccceaf8e
28d5e63bff
ed4fdaed9b

Reviewed By: JurjenLelifeld

fbshipit-source-id: 9c1490e9b15f811256e62fa71e1c5be95a004491
2025-04-11 09:35:13 -07:00
Matt Joras
939386e6bf Remove exception throwing from QuicInteger
Summary: Continuing the theme, removing it from QuicInteger which ends up being in a lot of the write paths.

Reviewed By: kvtsoy

Differential Revision: D72757026

fbshipit-source-id: 99a6ab2caea8fb495b1cb466172611002968e527
2025-04-10 18:14:11 -07:00
Open Source Bot
ddbabf6abd Updating submodules
Summary:
GitHub commits:

6abd486ec5
d786cdd455
d15d9f387f
d3b30b5e34
061d6a7762
7aa4b0dcee
23f06c5ceb
fe6d40cf78
86e4a501d0
3f087e9098
3ae0f9ecbe
b633ccc75c
8b16584af2

Reviewed By: JurjenLelifeld

fbshipit-source-id: 9781d97f26dbc36acd7e35a69b1a272fb0f973f6
2025-04-10 09:32:45 -07:00
Andy Firth
23f06c5ceb - Wconversion fixes 63/N (proxygen)
Summary: TSIA

Differential Revision: D72722600

fbshipit-source-id: 9051fa71d725e9b8939e94744a53300712cb7c70
2025-04-10 04:53:09 -07:00
Alex Hornby
1ddcc60c59 remove ws_airstore manifest
Reviewed By: fanzeyi

Differential Revision: D72462654

fbshipit-source-id: fae0f723d723c39f6d01b679d45bd0ed776873e7
2025-04-10 02:41:38 -07:00
Joanna Jo
63cc54ebb4 Remove generatePriority() in codecs
Summary: Removing the version of `generatePriority()` that had a dependency on `HTTP2Priority`.

Reviewed By: afrind

Differential Revision: D72536128

fbshipit-source-id: 4552f319bdd2858dc3e6b78bd5eb155a77bf64a2
2025-04-09 15:57:58 -07:00
Joanna Jo
55b694f9d8 Remove onPriority() in codecs
Summary: Removing the version of `onPriority()` that had a dependency on `HTTP2Priority`.

Reviewed By: hanidamlaj

Differential Revision: D72342970

fbshipit-source-id: ec88a629d2c083d3002a1e429f978bdcf89f231f
2025-04-09 15:57:58 -07:00
Alan Frindell
a668ca6322 Use new PriorityQueue interface
Summary:
Migrating mvfst priority API to be abstract, based on new classes is quic/priority.  For now, it requires applications use `HTTPPriorityQueue::Priority`, to be compatible with the hardcoded `deprecated::PriorityQueue` implementation and apps cannot yet change the queue impl.  Eventually the application will have full control of the queue.

There are minor functional changes in this diff:

1. Priority QLog types changed from int/bool to string
2. Any PAUSED stream has priority `u=7,i` if paused streams are disabled (previously explicitly settable to any priority)

Reviewed By: jbeshay

Differential Revision: D68696110

fbshipit-source-id: 5a4721b08248ac75d725f51b5cb3e5d5de206d86
2025-04-09 13:54:27 -07:00
generatedunixname89002005287564
a756e4ec93 Fix CQS signal. Id] 90255035 -- readability-redundant-string-init in fbcode/proxygen/httpclient/samples/curl
Reviewed By: dtolnay

Differential Revision: D72705621

fbshipit-source-id: da533f5eef716e6fbf5a028e9a6a99b4a856385e
2025-04-09 12:06:40 -07:00
Open Source Bot
0de2ef746e Updating submodules
Summary:
GitHub commits:

8d87ba078b
054ebc7ec2
6e5daf70a4
2fe6357d5a
bdc3ed699f
2a8fba588f
5f99d729a3
f8a02cc759
eeff4425e3
cc7f04bde2
1734fdafeb
e85d18730d
b754b9d974

Reviewed By: JurjenLelifeld

fbshipit-source-id: fe82a4c5c149044043065aeb07d9ff7418009cb4
2025-04-09 09:33:40 -07:00
Open Source Bot
5f99d729a3 Updating submodules
Summary:
GitHub commits:

270ef53b39
b2a677e0ff
5c109de601
72b8bb3af8
8dad113b91
c6e39980db
972fc75682
a904685933
ad9521b707
216fa640fe
8fb5f56eb5

Reviewed By: JurjenLelifeld

fbshipit-source-id: 3d228b4d55be028c5384fc9382440819eb86613f
2025-04-08 09:54:09 -07:00
Joanna Jo
972fc75682 Remove virtual streams in HTTPSession
Summary: Removing virtual streams (`PriorityMapFactory` and `createVirtualStreams()`) in `HTTPSession`.

Reviewed By: afrind

Differential Revision: D72271676

fbshipit-source-id: f4be11e4ddcfe2c0295105dfe39e0bf841817368
2025-04-07 13:21:20 -07:00
Joanna Jo
82c8c7aab8 Remove virtual nodes in codecs
Summary: Removing virtual nodes (`addPriorityNodes()` and `mapPriorityToDependency()`) in all codecs.

Reviewed By: afrind

Differential Revision: D72269365

fbshipit-source-id: 51df2095f42ec169aa72124b322fd5e8c1db1960
2025-04-07 11:42:45 -07:00
Open Source Bot
f2f0861bf2 Updating submodules
Summary:
GitHub commits:

c57ad460f4
55c2920855
7e822353bf
4e32602f71
4b1eb89336
0244751b93
ed7b901e38
4bdd11138a
e1abc46ab9
a90e66adcb

Reviewed By: JurjenLelifeld

fbshipit-source-id: a620db7ab0c08e306100e31cb022a066815d7c85
2025-04-07 09:38:25 -07:00
Open Source Bot
4b1eb89336 Updating submodules
Summary:
GitHub commits:

0694167f44
6b6ff6cdfe
af35f9fb4e
9c6d511ae9
b786a1d9f4
96c60860a8
90e35dabe2
f380b96d6b
62d82d5f1d
a63e96f838

Reviewed By: sdwilsh

fbshipit-source-id: 310c57d555c2884b2efb578aa71b839e8eb2283f
v2025.04.07.00
2025-04-06 09:34:17 -07:00
Open Source Bot
96c60860a8 Updating submodules
Summary:
GitHub commits:

3af843913b
6300e34591
5b1572a832
592f224165
d8eb22049c
deec80ffce
b2381adf33
7c3891c6ba

Reviewed By: sdwilsh

fbshipit-source-id: ac7fa3cf310fc0a66057039fbc554e2dc0402374
2025-04-05 09:33:06 -07:00
Open Source Bot
592f224165 Updating submodules
Summary:
GitHub commits:

143488f061
509fd01a50
e26809379c
3a63f80888
c995bab0bd
b071bb674d
07e9662d06
c8c6441ec7
6ee2af85e6
a5a4cc636e
7d8a1b7fd0
92c069bf56
8f9142baa8
0d610fdcf1

Reviewed By: sdwilsh

fbshipit-source-id: 30ca8a0fe474e3d497525db180edbee7d9730e54
2025-04-05 01:03:25 -07:00
Victor Zhang
07e9662d06 remove ZStrong as a fbcode_builder user
Summary:
X-link: https://github.com/facebookincubator/zstrong/pull/1266

ZStrong is moving away from fbcode_builder to use vanilla CMake. Removing this manifest so getdeps can stop considering the repo.

Reviewed By: terrelln

Differential Revision: D72397364

fbshipit-source-id: 5cbbd6edebe46a29aeddd93d848ad5a45e8d0aad
2025-04-04 16:46:12 -07:00
Alan Frindell
2874c1ebfc Start the FIN timer after second GOAWAY
Summary:
I missed this case

1. idle connection times out
2. send 1st GOAWAY
3. timeout fires, send 2nd GOAWAY, but not FIN

If the client ignores the GOAWAY and was waiting for FIN, we'd end up holding the connection forever

Reviewed By: jbeshay, meleshuk

Differential Revision: D72261633

fbshipit-source-id: 9b3fe4df9b20e7c8d5ee1e3313f41d083e64cc08
2025-04-04 11:55:22 -07:00
Open Source Bot
924dc81604 Updating submodules
Summary:
GitHub commits:

8d82353047
b6ee10cf66
f570757d9a
00fb110945
77a6924898
19bcae5080
d763977344
9835b5a527
482073197a
475d7b7c1a
2e2fc4488f
c5f65e945b
4c33347dfd

Reviewed By: sdwilsh

fbshipit-source-id: 893c21af08c3e4d37bffc4411d9b8cb543b0c609
2025-04-04 09:43:01 -07:00
Alex Hornby
9d9d269c14 fix cmake xxhash discovery
Summary:
Fix fb303 OSS builds on macOS that failing to find xxhash.h.

Problem was that thrift cpp lib now needs xxhash but it wasn't declared in the cmake rules, which shows up as a problem when system xxhash is not installed.

CustomCompressorRegistry.cpp was also missing from cmake build resulting in link errors once the xxhash.h discovery was fixed.

Reviewed By: markbt

Differential Revision: D72452460

fbshipit-source-id: 6bdb8e0e3961529f04f9d9d29ba0daeff2e7ff2a
2025-04-04 08:58:21 -07:00
Joanna Jo
a19319a645 Remove sendPriority() in HTTPSession/HQSession
Summary: Removing HTTP 2 priority API `sendPriority()` in `HTTPSession`/`HQSession`.

Reviewed By: hanidamlaj

Differential Revision: D72091448

fbshipit-source-id: 1b89e2fb98d3115d0ab604fa7b11cb31fb629c5f
2025-04-04 07:47:42 -07:00
Open Source Bot
d763977344 Updating submodules
Summary:
GitHub commits:

e1d96a8bc4
bad3366c7b
6a053402af
e9b5eb3c40
217c7b7443
7cd2770e5f
4d9ed8a22a
535ebababf

Reviewed By: sdwilsh

fbshipit-source-id: e34009a54a0bd92960ed0f0ec783abe989aa7123
2025-04-03 14:06:16 -07:00
Open Source Bot
aa7d4d378e Updating submodules
Summary:
GitHub commits:

a3c8563bf4
7851f35710
d3b401314e

Reviewed By: sdwilsh

fbshipit-source-id: 2498980139947495d5c4580a61b83d3e461945f9
2025-04-03 09:33:24 -07:00
Open Source Bot
217c7b7443 Updating submodules
Summary:
GitHub commits:

5528cb9dda
6390f31c2c
5b42e1bbbe
2d35b6c187
53992b433c
d9a85c0e66
b37135a20d
f0b2133fb4
6fb2585a0b
0eacd9c724
989bbe8474
c099bfcba8
51fbe32c2a

Reviewed By: sdwilsh

fbshipit-source-id: 83a79c308ab28ffc1d529b209b638fffc689aeae
2025-04-03 08:11:53 -07:00
Alex Hornby
398745a5fa regenerate github actions, fix cmake 4 failure
Summary:
X-link: https://github.com/facebook/fb303/pull/65

regenerate github actions before making any actual changes

github runners are on cmake 4 now,  update cmake min version to 3.5 to avoid cmake 4 error: https://cmake.org/cmake/help/latest/release/4.0.html#deprecated-and-removed-features

Reviewed By: markbt

Differential Revision: D72323421

fbshipit-source-id: 5ebae9a37dbfa0b95cf75b20c86d396f8d5aa7ab
2025-04-03 07:54:52 -07:00
Joanna Jo
b37135a20d Remove sendPriority() in HTTPTransaction::Transport
Summary: Removing HTTP 2 priority API `sendPriority()` in `HTTPTransaction::Transport`.

Reviewed By: afrind

Differential Revision: D72011021

fbshipit-source-id: d0681f96f4703a8f9fae55333f9e15b32303a976
2025-04-02 12:57:13 -07:00
Joanna Jo
e85181727d Remove H2 Priority APIs in HTTPTransaction
Summary:
Removing the following HTTP 2 priority APIs from `HTTPTransaction`:

* `void HTTPTransaction::updateAndSendPriority(int8_t newPriority)`
* `void HTTPTransaction::updateAndSendPriority(const http2::PriorityUpdate& newPriority)`
* `void HTTPTransaction::onPriorityUpdate(const http2::PriorityUpdate& priority)`

Reviewed By: afrind

Differential Revision: D71997988

fbshipit-source-id: d1c0ff0e3f1d38e07144f32ae844faf940038e5f
2025-04-02 12:57:13 -07:00
Joanna Jo
146c042104 Avoid copy for s_disallowedModernHTTPFields
Summary: Avoid copying disallowedModernHTTPFields: https://www.internalfb.com/diff/D71986737?dst_version_fbid=1008990627805215&transaction_fbid=9657803557574915

Reviewed By: hanidamlaj

Differential Revision: D72259049

fbshipit-source-id: 2afa6140df7e6cb3e628227a63689253b772e0c5
2025-04-02 12:32:29 -07:00
Open Source Bot
93462c25c2 Updating submodules
Summary:
GitHub commits:

1b15dde2ce
b16873ba8e
6c8c2e57ce
fd03ea6b69
a92f0364a8
aa90d99d76
b57619a9a8
668ecbe0e2
c7673fa3d2
716d1d7817
da3c1fbf77
54626d0aaf
53e75fc1e6

Reviewed By: sdwilsh

fbshipit-source-id: 8c6a32a46f2f0453bbf34b2980d2204e936473e7
2025-04-02 09:42:22 -07:00
Open Source Bot
b57619a9a8 Updating submodules
Summary:
GitHub commits:

e7f3359cff
3c210b237c
c01bae9744
278dc6968f
e5afdd4b88
ddc260941c
c039d647d7
feb271c166
3bc95acfd3
6405d7dcc4
8a35de6510
ac6cfe9909
fc3fdcd682
d8e2e24f52

Reviewed By: sdwilsh

fbshipit-source-id: 019ed6005be864dbc2bf97ae33c1a1854fade766
2025-04-01 09:35:13 -07:00
generatedunixname89002005287564
feb271c166 Fix CQS signal. Id] 28376794 -- modernize-use-nullptr in fbcode/proxygen/lib/http/codec/compress/experimental/simulator
Reviewed By: dtolnay

Differential Revision: D72157609

fbshipit-source-id: e5895b922d35631e900bd0a07a7fac90b13a551d
2025-03-31 16:46:58 -07:00
Alan Frindell
3b16a15ec5 Don't generate empty trailers section
Summary: This can happen if someone sets an trailer that is on the list of headers that is not allowed

Reviewed By: jalopezsilva, kvtsoy

Differential Revision: D71919527

fbshipit-source-id: ce3f2aab0b90d417e6691546cad392303f2ce630
2025-03-31 16:32:20 -07:00
Open Source Bot
2ba0c55f5a Updating submodules
Summary:
GitHub commits:

b3c3cf0c54
7ca3fe4d39
eeb175ae40
bd81621646
61570e4584
e530343b28
68777c7535
877a92809b
c816128663
ee9e2581b5
a7a1d2955f
c082b7a2ed

Reviewed By: sdwilsh

fbshipit-source-id: 5f2a15cf8eb618139a65a92e221505e15ae3b10f
2025-03-31 09:38:03 -07:00