Skip to content

ffi: expose set_use_initial_max_data_as_flow_control_win#2478

Merged
estcarisimo merged 1 commit into
cloudflare:masterfrom
estcarisimo:esteban/expose-use-initial-max-data-as-fc-window-ffi
May 14, 2026
Merged

ffi: expose set_use_initial_max_data_as_flow_control_win#2478
estcarisimo merged 1 commit into
cloudflare:masterfrom
estcarisimo:esteban/expose-use-initial-max-data-as-fc-window-ffi

Conversation

@estcarisimo
Copy link
Copy Markdown
Contributor

Adds a quiche_config_set_use_initial_max_data_as_flow_control_win C
FFI export so C consumers can enable the flow-control fix added in
#2356 from a config flag. Mirrors the FFI shape used by
quiche_config_set_enable_cubic_idle_restart_fix.

The Rust setter (Config::set_use_initial_max_data_as_flow_control_win)
and the corresponding tokio-quiche QuicSettings field (#2451) already
exist; this PR completes the parity on the C side.

Expose the existing Rust setter via the C FFI layer so C consumers can
enable the flow-control fix added in cloudflare#2356 behind a config flag. Mirrors
the FFI shape used by set_enable_cubic_idle_restart_fix.
@estcarisimo estcarisimo requested a review from a team as a code owner May 14, 2026 18:26
@estcarisimo estcarisimo merged commit 766f005 into cloudflare:master May 14, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants