plugin https2http&https2https: return 421 if host not match sni (#4323)

This commit is contained in:
fatedier
2024-07-09 10:50:16 +08:00
committed by GitHub
parent c6f9d8d403
commit b4d5d8c756
6 changed files with 81 additions and 13 deletions

View File

@@ -1,3 +1,8 @@
### 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.