mirror of
https://github.com/fatedier/frp.git
synced 2025-06-17 17:18:21 +00:00
Adds support for a new "http2http" plugin in the configuration and implementation. - Introduces a new constant `PluginHTTP2HTTP` to represent the "http2http" plugin in the plugin configuration. - Adds `HTTP2HTTPPluginOptions` struct to define the options available for the "http2http" plugin, including local address binding, host header rewrite, and custom request headers. - Implements the `http2http` plugin in `http2http.go`, which includes the setup of a reverse proxy server that forwards HTTP requests to another HTTP server based on the specified plugin options. - Registers the "http2http" plugin with the plugin system, allowing it to be utilized in client configurations. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/fatedier/frp/pull/4275?shareId=a866fdb3-e40a-4d40-9326-546dc4efce63).
205 B
205 B
Features
- Added a new plugin "http2http" which allows forwarding HTTP requests to another HTTP server, supporting options like local address binding, host header rewrite, and custom request headers.