Skip to content

style(http2): use an enum instead of bool in strip_connection_headers()#4094

Merged
seanmonstar merged 1 commit into
masterfrom
sean/kwumkmtlmvuu
Jun 1, 2026
Merged

style(http2): use an enum instead of bool in strip_connection_headers()#4094
seanmonstar merged 1 commit into
masterfrom
sean/kwumkmtlmvuu

Conversation

@seanmonstar
Copy link
Copy Markdown
Member

Found this is_request: bool parameter which I hate. What does strip_headers(headers, true) mean? Hard to know with just a boolean. Make it an enum.

@seanmonstar seanmonstar force-pushed the sean/kwumkmtlmvuu branch 3 times, most recently from c1e5d9c to 8ef9889 Compare June 1, 2026 18:08
@seanmonstar seanmonstar merged commit b80c77d into master Jun 1, 2026
23 checks passed
@seanmonstar seanmonstar deleted the sean/kwumkmtlmvuu branch June 1, 2026 18:38
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.

1 participant