-
- Downloads
GRPC calls now use request-specific context (#78)
After #77, we have one global GRPC channel for the entire process. This
change causes each GRPC call to be made on the incoming HTTP request's
context such that if an HTTP client cancels prematurely, we will handle
the GRPC cleanup appropriately.
Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
Showing
- pkg/api/api.go 22 additions, 10 deletionspkg/api/api.go
- pkg/api/entries.go 31 additions, 18 deletionspkg/api/entries.go
- pkg/api/tlog.go 12 additions, 8 deletionspkg/api/tlog.go
- pkg/api/trillian_client.go 1 addition, 8 deletionspkg/api/trillian_client.go
- pkg/generated/restapi/configure_rekor_server.go 3 additions, 9 deletionspkg/generated/restapi/configure_rekor_server.go
Please register or sign in to comment