oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.48k stars 2.79k forks source link

Add HTTP2 for GRPC connections #10252

Closed JeissonWeeDev closed 7 months ago

JeissonWeeDev commented 7 months ago

What is the problem this feature would solve?

image

Support for HTTP2 could be added, because some of the servers and APIs that some companies have require the use of GRPC for communication between microservices in an agile and fast way, BUNJS works perfectly as a GRPC client but as a GRPC server I have to use NodeJs v20 now When I run the server using "bun" I have a compilation error, I want to migrate the services I have in Nodejs to Bunjs since it is much faster but I have this limitation of the HTTP2 protocol, greetings bro.

What is the feature you are proposing to solve the problem?

As I said before, it is to fix the compatibility between the services I have, I want to migrate to the use of BunJs but I have a problem with HTTP2 and I left you evidence of it, here I leave other evidence of the same.

image

What alternatives have you considered?

For this problem, I use NodeJs in gRPC server instead BunJs

Electroid commented 7 months ago

Duplicate of #8823