Skip to content

Conversation

@ameba23
Copy link
Collaborator

@ameba23 ameba23 commented Nov 18, 2025

Closes #5

When proxy-client starts it will immediately make a connection to proxy-server, using HTTP2.

This connection will be used for all requests to that instance of proxy-client from the source client.

If proxy-client fails to send a request to the proxy-server because of a connection error, it will re-connect and do a new attestation verification.

Note that this does not re-use connections between proxy-server and the target service. Those are still one connection per request (but with minimal overhead since they don't use attested TLS).

Also, HTTP1.1 is still used for proxy-server to target service connections, as well as for source client to proxy-client.

@ameba23 ameba23 merged commit 41823ae into main Nov 19, 2025
2 checks passed
@ameba23 ameba23 deleted the peg/connection-reuse branch November 19, 2025 13:36
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.

Connection re-use

1 participant