Skip to content

Conversation

@zhangyongding
Copy link
Contributor

Complete this issue: Add HTTP support to kmip client

@zhangyongding zhangyongding requested a review from a team as a code owner November 3, 2025 03:42
add ReadHeaderTimeout
@phsym
Copy link
Collaborator

phsym commented Dec 12, 2025

Hi @zhangyongding thanks for this. HTTP client is definitely a good improvement.
I would however prefer avoiding mixing both tcp and http client together in the same client struct.

Maybe a cleaner approach would be to hide transport specific implementation behind an interface that would be used the the Client.conn field, or define an interface over the Client struct and implement it in a dedicated HTTPClient struct. What do you think ?

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