mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
This commit adds support for TLS client authentication in the CLI. It adds the necessary fields to the config and CLI parameters, modeled on the existing server-crt functionality. It also fixes 2 bugs in the grpcproxy: 1. The grpcproxy would ignore the server-crt when making a call to the upstream server. 2. The grpcproxy would falsely assume that the HTTP status code returned by the upstream server is always 200. It would then try to parse the body as if it was a grpc response. At best this led to weird errors being shown, at worst I have seen it cause the runtime to run out of memory.