13594 Commits

Author SHA1 Message Date
Siming Li
b47b7b12ac change HQDownstreamSession destructor from private to protected
Some checks failed
mac / build (push) Has been cancelled
linux / build (push) Has been cancelled
Close inactive issues / close-issues (push) Has been cancelled
Summary:
- Per https://fburl.com/code/lb8pgvwb, to use DelayedDestruction, the destructor can be either private or protected
- HQDownstreamSession destructor is private, which prevents users from subclassing it.
- Let's change it to "protected"

Reviewed By: lnicco

Differential Revision: D71357167

fbshipit-source-id: aeeb97c6a80dedd6345db6c03bfe2e4c882a28eb
2025-03-18 10:13:58 -07:00
Open Source Bot
32ac46ece2 Updating submodules
Some checks failed
linux / build (push) Has been cancelled
mac / build (push) Has been cancelled
Summary:
GitHub commits:

1b024edfce

Reviewed By: bigfootjon

fbshipit-source-id: c07f3abfd9f23c0069aecba778845d63ebd94735
2025-03-16 09:33:44 -07:00
Open Source Bot
97fda73e33 Updating submodules
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
GitHub commits:

4576f2cb8b
d61751ee63
fd46828405
f352ff63d4
d522680e5d
42c3434174
98d1d80352
cae1812d81
79564a7d8f
78b78b50ce
8138b68050
5a9204b75f
a65a207e15

Reviewed By: bigfootjon

fbshipit-source-id: 43a6dc82824da1cee7cf20fe92e31d1dc9a30463
2025-03-15 09:33:05 -07:00
Hani Damlaj
98d1d80352 follow-up for D69196385
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary: contents of this diff weren't absorbed into D69196385 prior to landing, publishing separately

Reviewed By: HsiehYuho

Differential Revision: D71130919

fbshipit-source-id: ac947681ef6f0def01f0ca58aa6bda770b0a879d
v2025.03.17.00
2025-03-14 14:46:45 -07:00
Alex Hornby
4b493ec12b fast_float is too old on ubuntu 24.04
Summary:
X-link: https://github.com/facebookincubator/zstrong/pull/1228

ubuntu 24.04 fast float is too old and causes folly build to fail, so exclude it from system packages and build from source.

ubuntu 25.04 plucky is due to get an updated version so not removing the deb mapping entirely: https://launchpad.net/ubuntu/plucky/+source/fast-float

Reviewed By: bigfootjon

Differential Revision: D71213548

fbshipit-source-id: b1fd7c28360a476c766da1099e56fd2aa5df3d55
2025-03-14 13:44:34 -07:00
Paul Cruz
6bb525691b Add retries to ArchiveFetcher
Summary:
X-link: https://github.com/facebookincubator/zstrong/pull/1227

Add retries to ArchiveFetcher when downloading fails. There will be 4 retries, with backoff and jitter. The max delay is capped at 10 seconds.

Reviewed By: srikrishnagopu

Differential Revision: D71167342

fbshipit-source-id: d927a639cf99185c5a04d063400bdab874dfddfe
2025-03-14 12:10:44 -07:00
Open Source Bot
a5ab6f31cf Updating submodules
Summary:
GitHub commits:

0efd31be0e
e7afe09bbd
829b777d6c
a09f66976e
9de193fb83
fc0c83ce77
8fc64d4958
925a46575e
23849ba5b1
fd46b36d46
f7bd7c21be

Reviewed By: bigfootjon

fbshipit-source-id: 299c1e7c0a3eccb9597ee88bd5b9a907dad6a7d1
2025-03-14 10:05:40 -07:00
Open Source Bot
fc0c83ce77 Updating submodules
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
GitHub commits:

fe2ef0091a
02497a06e5
ea0e2fd1d6
75eb1dbf30
adbc58611f
4b4d967d84
5db796b4c1
20bef2ae1d
1a6aec229b
c590457a27
61d8307252
7df2f281dc
0bb3e15fe9

Reviewed By: bigfootjon

fbshipit-source-id: 3a2f9fdcdf752ea5184311d03330f765e1c30c4b
2025-03-13 21:42:36 -07:00
Yu-Ho Hsieh
5db796b4c1 Move sendAbort to the end of invariantViolation()
Summary: The commits moves the `sendAbort()` to the end of invarian violation logic and add the delay destructor  to the `invariantViolation` . This way the service handler can invoke customized send error implementation without being worrid about keeping the transaction around.

Reviewed By: hanidamlaj

Differential Revision: D69196385

fbshipit-source-id: 82c17e6a8ac610db228af0611f64f35a7c6274cc
2025-03-13 20:21:10 -07:00
Jon Maltiel Swenson
dbcf3517be Move HTTPUpstreamSession constructor definitions from .h to .cpp
Some checks failed
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Close inactive issues / close-issues (push) Has been cancelled
Reviewed By: lnicco, agankur21

Differential Revision: D71128259

fbshipit-source-id: 44ac3c79c9ae75cddd324537315c20e8460848c8
2025-03-13 15:56:19 -07:00
Joanna Jo
2e1d5065c3 Set HeaderContentValidation error in HQStreamCodec
Summary: Setting the new HeaderContentValidation ProxygenError enum in HQStreamCodec wherever there's a header validation error. These errors should now be recorded separately from header parsing errors.

Reviewed By: afrind

Differential Revision: D70342834

fbshipit-source-id: e95f1fc8552e2a2fe78750652871f16536dc62db
2025-03-13 12:09:44 -07:00
Joanna Jo
4c366d4af4 Set HeaderContentValidation error in HTTP1xCodec
Summary: Setting the new HeaderContentValidation ProxygenError enum in HTTP1xCodec wherever there's a header validation error. These errors should now be recorded separately from header parsing errors.

Reviewed By: afrind

Differential Revision: D70342438

fbshipit-source-id: 1a793ed54d8144be1b144bda54ed58117f2e262d
2025-03-13 12:09:44 -07:00
Joanna Jo
554b2fbc07 Set HeaderContentValidation error in HTTP2Codec
Summary: Setting the new HeaderContentValidation ProxygenError enum in HTTP2Codec wherever there's a header validation error. These errors should now be recorded separately from header parsing errors.

Reviewed By: hanidamlaj

Differential Revision: D70202136

fbshipit-source-id: aab19af06ea9049057e7871c01e1f848472e8f11
2025-03-13 12:09:44 -07:00
Aman Sharma
0001159d66 Initialize versions within parsing and writing classes
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary: This diff has no real functional change, we're just initializing the versions in the writers, parsers, codec, etc. based on the version that was negotiated during the handshake.

Reviewed By: afrind

Differential Revision: D70864940

fbshipit-source-id: 024c8dee2eaa78b61e280d0d70f9702ef36ea1e4
2025-03-12 13:31:48 -07:00
Open Source Bot
a43b78b022 Updating submodules
Summary:
GitHub commits:

fb8bd15f82
6c3ada7cfd
c25555bfcb
d11718a576
c2b01471cc
72eee695ce
0331b7b130

Reviewed By: bigfootjon

fbshipit-source-id: d46dbbff94084a312f3202e2e91b88c7533d635f
2025-03-12 09:33:04 -07:00
Open Source Bot
c2b01471cc Updating submodules
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
GitHub commits:

df9ef76e86
d5db014892
0bb7dfda3a
3fa1dad3a0
99c89169f1
9b3b4e24d5
d1b6e64cbd
88f4068ece
3f4d871d42
ff787bea05
f8c1308486

Reviewed By: bigfootjon

fbshipit-source-id: ee78bc67f1893f69c0aa5d8eb3a87a2b6a00d6f4
2025-03-12 04:02:44 -07:00
Joanna Jo
9b3b4e24d5 Change to debug logging for header values
Summary: Changing to debug logging for HTTP header values due to privacy implications.

Reviewed By: hanidamlaj

Differential Revision: D70581133

fbshipit-source-id: 66ff86702d9b45717d2af8df4f1debe7b85058c2
2025-03-11 17:05:51 -07:00
Open Source Bot
254a6b02dc Updating submodules
Summary:
GitHub commits:

215b92e938
6d4d57ef71
c792ee615d
296b94aeaa
eaff7b15ed
ab210c4756
1ea9db0648
83f7a531d5
d684ca2ef8
4eaf18ee57
9fa0338023
be787c3967

Reviewed By: bigfootjon

fbshipit-source-id: 7cffd4e86ea18d4de9c26c240d985f0222f05c9b
2025-03-11 14:47:19 -07:00
Open Source Bot
1ea9db0648 Updating submodules
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
GitHub commits:

0f8d013933
77e34ab89c
f2b147b3e3
aae3d808ae
3735659cd3
1999e33c1e
b728cf895e
37eb95f0a2
cbf6e257a7
9af03b790c
058da248b8
06bb84f202

Reviewed By: bigfootjon

fbshipit-source-id: 52d276fcc8b440d2f18be6585b7572194736777c
2025-03-11 09:34:03 -07:00
Paul Farcasanu
b728cf895e support paused priority
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Reviewed By: lnicco

Differential Revision: D68019424

fbshipit-source-id: 30eeb0acc341f3120d59901150d0a27d91d720ff
2025-03-10 16:25:31 -07:00
Open Source Bot
53a2f70043 Updating submodules
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
GitHub commits:

d51f3e1c50
3bff15271e
4b1aa6f2cb
23042e23a9
588622a3ef
93032a2f42
f492d31b08
85dbb25d45
0237f365a2
7fe315a649

Reviewed By: bigfootjon

fbshipit-source-id: 3086474eff7ac070fbaf5759a0614cb5afea7121
2025-03-10 09:34:40 -07:00
Open Source Bot
93032a2f42 Updating submodules
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
GitHub commits:

9f76fa2734
6585584b65
efbf05d68e
8538e6dfdd
6126b90c2d
d8f462c874
c253f7ddc2
d9487a6d9f
e490e55aa5

Reviewed By: ajb85

fbshipit-source-id: 33f4cb3db4985d4e34ae10d225acdcc72566b13c
v2025.03.10.00
2025-03-09 09:34:16 -07:00
Open Source Bot
6126b90c2d Updating submodules
Summary:
GitHub commits:

e77e7a633e
cf6a954aae
ac136fb9f1
40476a143e
4123ceb6d2
c42eff0f08
e2d7086c4c
fcf3e36b11
a95b2bafa2
33df517d1a
01df4bfc76
415903f649
4b5de3c37e
3a2ecd20f6

Reviewed By: ajb85

fbshipit-source-id: 47e55d1300ae545b78183dcf7e0854d259ad1b7a
2025-03-08 09:33:53 -08:00
Aman Sharma
fcf3e36b11 FakeSharedWebTransport changes for delivery callbacks
Summary: I had previously added delivery callbacks to the WebTransport API, now I'm adding functionality to the FakeSharedWebTransport to make it fire when the data is delivered to the peer (this is instantaneous right now for the FakeSharedWebTransport)

Reviewed By: jbeshay

Differential Revision: D70727637

fbshipit-source-id: b187e9ecbd16665fa14365198c0c9de88a49c7e9
2025-03-07 10:41:06 -08:00
Open Source Bot
0f59329209 Updating submodules
Summary:
GitHub commits:

7a8a861527
a1f144eac0
40ad2f4204
3c7b1991ab
c452e63b21
bd807d2366
dad1cb400a
1f65f6d97c
fa1b258e75
8356513739
15ae2d0b66
8a48126bf4

Reviewed By: ajb85

fbshipit-source-id: af9e14f03516ce1690f1de654e8221df8c726ad2
2025-03-07 09:33:01 -08:00
Hani Damlaj
dad1cb400a move AsyncDNSStatsCollector to proxygen/lib/dns
Summary: * lifts AsyncDNSStatsCollector from the facebook/ subdirectory

Reviewed By: lnicco

Differential Revision: D70726790

fbshipit-source-id: bb4f0517636d0bc66151078f0944c2501aa02861
2025-03-06 17:46:26 -08:00
Matt Joras
ea24e8ad1d Remove spdyMode from HTTP2PriorityQueue
Summary: Not used.

Reviewed By: hanidamlaj

Differential Revision: D70569309

fbshipit-source-id: be206ae54dc0fef828cfb5931df3ba9121b7b770
2025-03-06 16:09:19 -08:00
Matt Joras
92857bc9e1 Remove spdyCompressionLevel
Summary: Not used.

Reviewed By: hanidamlaj

Differential Revision: D70568002

fbshipit-source-id: b99f36de8b9b6f73ca79292eb30853936ad9c23b
2025-03-06 16:09:19 -08:00
Matt Joras
84fc69528b Remove CodecDictionaries.h
Summary: Not used.

Reviewed By: hanidamlaj

Differential Revision: D70566029

fbshipit-source-id: 3a510e3c6f25b40ae2f6980d62c4b9f39cfca4e4
2025-03-06 16:09:19 -08:00
Matt Joras
d5a2a5ad47 Get rid of SPDY protocol in httpserver
Summary: Not used.

Reviewed By: hanidamlaj

Differential Revision: D70565891

fbshipit-source-id: 5348d9d811d6708c1d5091132c7a6ea8083c0684
2025-03-06 16:09:19 -08:00
Matt Joras
87621ba97f Remove SPDY-only closing state
Summary: Not used by HTTP/2

Reviewed By: hanidamlaj

Differential Revision: D70565533

fbshipit-source-id: 45c808bbc9dd1bdb575959b0592bc75cd443b919
2025-03-06 16:09:19 -08:00
Matt Joras
85326f994d Nuke misc. SPDY comments.
Summary: Not relevant.

Reviewed By: jbeshay

Differential Revision: D70509318

fbshipit-source-id: adc1bead0c2a02fdb444c78a0def1ddf8743a049
2025-03-06 16:09:19 -08:00
Matt Joras
8c45af75ff Remove SPDY references from SettingsId
Summary: This is unused.

Reviewed By: hanidamlaj

Differential Revision: D70503352

fbshipit-source-id: efee3fa71f20f10edbbd8c2d39ff056d517d78f3
2025-03-06 16:09:19 -08:00
Matt Joras
3c2b0996c8 Remove SPDYStats and friends
Summary: Delete the alias and expect users to just migrate to the class.

Reviewed By: hanidamlaj

Differential Revision: D70498592

fbshipit-source-id: 50bd5f0fd06c4ce70d74324fdf58d24dbbc4aff6
2025-03-06 16:09:19 -08:00
Matt Joras
5e823e9fba Remove SPDY comment references in HTTPSession
Summary: It's long dead.

Reviewed By: jbeshay

Differential Revision: D70497707

fbshipit-source-id: 62991308c673d56a8cf07bce7a5e95e6193fd19b
2025-03-06 16:09:19 -08:00
Open Source Bot
448612965f Updating submodules
Summary:
GitHub commits:

5cd2d8c402
7a9585a10c
cd07017bf0
846f4b93a2
8bca3f0ea5
70133fce00
7bd8a75b6f
982fd3e511
a18f02539a
9e6a4051a4
16d5a0b3cd
2c27eb9f81
cca7a29894

Reviewed By: ajb85

fbshipit-source-id: 2fc63a699266f177789d4f23e392d166b8886306
2025-03-06 09:32:56 -08:00
Open Source Bot
982fd3e511 Updating submodules
Some checks failed
mac / build (push) Has been cancelled
linux / build (push) Has been cancelled
Close inactive issues / close-issues (push) Has been cancelled
Summary:
GitHub commits:

3a44871183
a2787c2d8a
78d25786ac
e3795d7e20
53a8ea035e
335bd3d07b
5d0eaead0e
bee6d28f23
5bb551c392
849252b2e7

Reviewed By: ajb85

fbshipit-source-id: 243049694219443fcb7a9d51fad3bcf95359b553
2025-03-05 09:35:05 -08:00
Open Source Bot
335bd3d07b Updating submodules
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
GitHub commits:

c3749d80b5
b636a4eead
a7dafaf9a3
9527a33d8e
5b4e1d73aa
523517e000
788029d7a1
0b95fb3431
06c66a7c4a
56eff859db
731ba4e998
6392428993

Reviewed By: ajb85

fbshipit-source-id: f20edf7788a40f3e76ca567f5359798d21239d26
2025-03-04 09:32:46 -08:00
Hani Damlaj
788029d7a1 invoke ::generateEOM from ::generateTrailers
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
::generateTrailers is a terminal "event" on a http1x chunked upstream req / downstream resp

Put another way – after invoking ::generateTrailers, nothing else can be egressed w.r.t. to the txn; this is enforced by HTTPTransactionEgressSM

Reviewed By: jbeshay, kvtsoy

Differential Revision: D70193047

fbshipit-source-id: 1d19fc86496d4fb06ed1bd0e493a22b12b2f355c
2025-03-03 19:10:51 -08:00
Open Source Bot
bbfe19d8a4 Updating submodules
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
GitHub commits:

904f9b957f
9c90f01540
444ea56794
85d7ded94d
fac5da6041
16bd499064
283c211a46
a45bd15ca1
0c632b604c
c4074f191c
bc749d6a52

Reviewed By: zpao

fbshipit-source-id: d5eb60e99c4948877458cde3afe25c488028f62a
2025-03-03 09:34:36 -08:00
Pieter De Baets
9003fed8f2 Use updated fast_float::parse_options
Summary:
X-link: https://github.com/facebookincubator/zstrong/pull/1216

`str_to_floating_fast_float_from_chars` can be simplified using the new upstream option `allow_leading_plus`. It does mean that we also support parsing `+nan` and `+infinity` which we previously didn't.

Mapping to `Inf` is also handled by the parsing logic, so this custom branch can be removed.

Reviewed By: Gownta

Differential Revision: D70392258

fbshipit-source-id: 62972a6cadd1547d8ff0a3162510ae5e979d459f
2025-03-03 09:33:30 -08:00
Open Source Bot
16bd499064 Updating submodules
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
GitHub commits:

e040484442
6c7eb7db8a
4885040ef5
7881d1e785
a9783ab82a
e586312034
799a48aa56
ee25d0ef77
7aeaa794bb
51a2669326

Reviewed By: JurjenLelifeld

fbshipit-source-id: c0e6571dfe7660eb772e140ed8ea68a49cd87cc3
v2025.03.03.00
2025-03-02 09:33:28 -08:00
Open Source Bot
e586312034 Updating submodules
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary:
GitHub commits:

8ead5b15c6
b7cf2c2726
4e8fa90dd7
a9a87890a0
8e8186f67d
2f35e33cbd
814ba29fa7
a8e85adde2
accca84f64
50e99e25b1
d124edfecb
23a7b4165b

Reviewed By: JurjenLelifeld

fbshipit-source-id: f73dff2eb62a8545df43c38315e34c277a02dc79
2025-03-01 09:32:51 -08:00
Alan Frindell
814ba29fa7 Accessor for server EVBs
Some checks are pending
linux / build (push) Waiting to run
mac / build (push) Waiting to run
Summary: As in title

Reviewed By: sharmafb

Differential Revision: D70410709

fbshipit-source-id: b8864e70458756c7e046448e8d50f15ba152604e
2025-02-28 15:29:17 -08:00
Open Source Bot
92a940ae0c Updating submodules
Summary:
GitHub commits:

eaf00146e0
5c6403fe12
6fcfeb2225
b5814d8f9d
ea62f9f2a7
8d0ddb8783
9c99ae53bd
8dc3b5e775
4a9e780ecc
3d54b9cbb2
55a85eb8fe
0ec8412ff2

Reviewed By: JurjenLelifeld

fbshipit-source-id: f3bf6bad4aef5eb19bf6f7927d897c2809511802
2025-02-28 09:35:42 -08:00
Joanna Jo
9c99ae53bd Replace AddressFamilyNotSupported with HeaderContentValidation
Summary: Replacing AddressFamilyNotSupported with HeaderContentValidation in the ProxygenError enum so that we can gain better visibility into validation vs. parsing errors. From my understanding, AddressFamilyNotSupported/kErrorAddressFamilyNotSupported is not often used and should be safe to replace.

Reviewed By: hanidamlaj

Differential Revision: D70005221

fbshipit-source-id: 101e247a2bfbb5d0203d8b746e47fdb20d10cf4d
2025-02-27 17:00:44 -08:00
Cullen Walsh
16fc7ab8b1 Unbreak generate-release-yml.rs, update Ubuntu/Fedora Docker bases
Summary:
X-link: https://github.com/facebookincubator/zstrong/pull/1211

* Seems like rust-script is picky with the comment format for cargo dependencies. Switching from /* */ to //! allows is to correctly build the script.
* Remove Ubuntu 20.04 (gcc too old)
* Add Ubuntu 24.04 (latest LTS)
* Remove Fedora 36/37/38 (38 support ended 2024-05-21)
* Add Fedora 40/41/42 (42 to be released 2025-04-22)

X-link: https://github.com/facebook/watchman/pull/1275

Reviewed By: chadaustin

Differential Revision: D70350468

fbshipit-source-id: f5a29743da5b381fadeba2ed35a440b4054ca453
2025-02-27 15:54:29 -08:00
Open Source Bot
bcb7c2a50c Updating submodules
Summary:
GitHub commits:

4adfc8a53b
9c06d5c3b9
dd5fa64404
fa877f5f58
48940bb429
bfdd58cfec
5fe1807f14
48ba01e3d6
63ad39b105
f91130c1f8
0634ab95e7
90516fba0f
f10afc840e

Reviewed By: JurjenLelifeld

fbshipit-source-id: daf1dd51e1bdc69f0fcc2e74cef74d287b3a2170
2025-02-27 09:33:21 -08:00
Aman Sharma
5fe1807f14 Calculate preface size on the fly instead of having a map
Summary: The WebTransport preface contains two QuicIntegers: One which represents whether the stream is unidirectional or bidirectional, and the other of which represents the session id. We just sum up the sizes of the two if they were to be encoded as `QuicInteger`s.

Reviewed By: hanidamlaj

Differential Revision: D70016394

fbshipit-source-id: 315e3d606acaea3754e310c0d242dedf0e02e84e
2025-02-26 11:04:26 -08:00
Open Source Bot
4cf47bbfee Updating submodules
Summary:
GitHub commits:

afbcd915ee
50a1857747
053dc1405b
380a30c451
c27d532fe5
07f91b0698
c42077a47b
3ded98846d
2b173b8ad8
dc0d04f245
a1c8b3dea3
4c39f558ea

Reviewed By: JurjenLelifeld

fbshipit-source-id: a1d06ac67b2843c25dff171beea6caf06df80ff3
2025-02-26 09:33:45 -08:00