[GH-ISSUE #2780] [Feature Request] net/http2 support #2225

Closed
opened 2026-05-05 13:25:52 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @penguine on GitHub (Jan 24, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2780

Describe the feature request

perhaps you want to use
https://pkg.go.dev/golang.org/x/net/http2
the performance should be better.
an example you can find here:

https://github.com/mmatczuk/go-http-tunnel/blob/master/cmd/tunneld/tunneld.go

Originally created by @penguine on GitHub (Jan 24, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2780 ### Describe the feature request perhaps you want to use https://pkg.go.dev/golang.org/x/net/http2 the performance should be better. an example you can find here: https://github.com/mmatczuk/go-http-tunnel/blob/master/cmd/tunneld/tunneld.go
Author
Owner

@Becods commented on GitHub (Feb 4, 2022):

If you're just using the http/tcp protocol, http2 is fine for the back-end web server
frp probably doesn't need http/2

<!-- gh-comment-id:1030206313 --> @Becods commented on GitHub (Feb 4, 2022): If you're just using the http/tcp protocol, http2 is fine for the back-end web server frp probably doesn't need http/2
Author
Owner

@penguine commented on GitHub (Feb 6, 2022):

thx :-)

<!-- gh-comment-id:1030934223 --> @penguine commented on GitHub (Feb 6, 2022): thx :-)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2225
No description provided.