Skip to content

Commit 7c018b8

Browse files
authored
TLS: Correct desc of enableSessionResumption
1 parent 1dad6a9 commit 7c018b8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/config/transport.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,11 @@ CipherSuites 用于配置受支持的密码套件列表, 每个套件名称之
176176

177177
> `enableSessionResumption`: true | false
178178
179-
此参数的设置为 false 时, ClientHello 里没有 session_ticket 这个扩展。 通常来讲 go 语言程序的 ClientHello 里并没有用到这个扩展, 因此建议保持默认值。 默认值为 `false`
179+
是否启用会话恢复,默认禁用,只有服务端和客户端都启用时候才会尝试协商会话恢复。
180+
181+
如果协商成功将可以不在握手过程中传输证书。稍微节省一点点握手时间(几乎可以忽略不计)
182+
183+
注意,这不是 TLS 0RTT, gotls 尚未支持此功能,这不会减少 TLS 握手的RTT
180184

181185
> `fingerprint` : string
182186

0 commit comments

Comments
 (0)