grpc-go icon indicating copy to clipboard operation
grpc-go copied to clipboard

Implement Custom Types for gRPC-Go Framer

Open arvindbr8 opened this issue 1 year ago • 1 comments

Currently, our gRPC-Go implementation relies on the x/net/http2 package for framing HTTP/2 messages. As part of our effort to create a more specialized and optimized gRPC-Go framer, we need to replace the dependency on x/net/http2 data types with our own custom implementations.

Specifically, we have identified the following files from the x/net/http2 package where the relevant data types are defined:

  • framer.go
  • errors.go

We need to analyze the types in these files to determine which are essential to the framing process and replicate them within our custom framer.

arvindbr8 avatar Jul 01 '24 17:07 arvindbr8

I am sending a PR to fix it.

This PR will contain all the types defined in the frame.go file, those used in the errors.go file and some type definitions in the http2.go file. The http2.go types are not related to the framer itself, but will be necessary to remove completely the dependency on the http2 package in the future.

printchard avatar Jul 01 '24 21:07 printchard