v0.59.0

fatedier/frpv0.59.0Jul 9, 2024by fatedier

AI Summary

Introduces a new HTTP forwarding plugin and adds HTTP/2 control options, while changing error handling for host mismatches in existing HTTPS plugins.

Key Highlights

  • New http2http plugin for HTTP forwarding
  • New enableHTTP2 option for HTTPS plugins
  • Return 421 error for host mismatch in HTTPS plugins

New Features

  • http2http plugin
  • enableHTTP2 option

Full Release Notes

### 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.
* Added `enableHTTP2` option to control whether to enable HTTP/2 in plugin https2http and https2https, default is true.

### Changes

* Plugin https2http & https2https: return 421 `Misdirected Request` if host not match sni.