Skip to content

internal,fsthttp: fix broken API for DownstreamTLSClientCertVerifyRes…#241

Merged
dgryski merged 2 commits intomainfrom
dgryski/http-verify-result
Mar 13, 2026
Merged

internal,fsthttp: fix broken API for DownstreamTLSClientCertVerifyRes…#241
dgryski merged 2 commits intomainfrom
dgryski/http-verify-result

Conversation

@dgryski
Copy link
Member

@dgryski dgryski commented Mar 11, 2026

…ult()

Previously this hostcall was marked as returning a bool, but it actually returns an enum.

…ult()

Previously this hostcall was marked as returning a bool, but it actually returns
an enum.
@dgryski dgryski requested review from cee-dub and joeshaw March 11, 2026 22:53
@dgryski
Copy link
Member Author

dgryski commented Mar 11, 2026

I suppose I could make this less breaking by keeping the bool field but setting it to true/false if the VerifyResult is Ok and also set a new Result field with the underlying verification result.

Copy link
Collaborator

@cee-dub cee-dub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: acronyms usually capitalized. (Wait... OK isn't an acronym)

@cee-dub
Copy link
Collaborator

cee-dub commented Mar 12, 2026

👍

@dgryski dgryski merged commit 8d283ea into main Mar 13, 2026
9 checks passed
@dgryski dgryski deleted the dgryski/http-verify-result branch March 13, 2026 18:03
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.

2 participants