Skip to content

Phase out use of custom HTTP2 Transport #2112

@johanbrandhorst

Description

@johanbrandhorst

Please answer these questions before submitting your issue.

What version of gRPC are you using?

1.12.0

What version of Go are you using (go version)?

1.10

What operating system (Linux, Windows, …) and version?

Linux

What did you do?

I checked the source of the transport package.

What did you expect to see?

I expected the gRPC HTTP2 transport to be built on top of the Go standard library HTTP2 stack.

What did you see instead?

There is a separate HTTP2 stack implementation.

This is mostly an issue to hear about current opinions and possibly tracking the migration from the internal HTTP2 stack to that of the Go standard library. I'm guessing this is something we can all agree is a good idea even if it might not be of the highest priority.

On a personal level I'm interested in grpc-go building its client stack on top of a net/http.Client or at least a net/http.RoundTripper because I'm currently looking at writing a grpc-web client for Go to be compiled to WASM, and this kind of thing together with my recently merged Fetch based net/http.RoundTripper would basically allow grpc-go to be compiled to WASM and work out of the box.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions