test: validate native TLS on Linux

This commit is contained in:
2026-09-22 01:14:21 +08:00
parent e6c82a01fe
commit 9c9c8ab59a
9 changed files with 1385 additions and 32 deletions

View File

@@ -48,7 +48,7 @@ if err := application.RunWith(ctx, server, ":8443"); err != nil {
}
```
需要自己持有 listener 或配置证书文件时,分别使用 `ServeTLS` 或 `RunTLS`;TLS 握手仍受 native 的读超时、连接上限和优雅关闭控制。
需要自己持有 listener 或配置证书文件时,分别使用 `ServeTLS` 或 `RunTLS`;TLS 握手仍受 native 的读超时、连接上限和优雅关闭控制,Handler 可通过 `Request.TLS` 读取标准 `tls.ConnectionState`。
## 可移植路由规则(v0.3.0)