Add ECH TLS client

This commit is contained in:
世界
2022-09-09 18:19:50 +08:00
parent a3bb9c2877
commit 3ad4370fa5
8 changed files with 242 additions and 18 deletions

View File

@@ -187,7 +187,7 @@ func (c *Conn) clientHandshake(ctx context.Context) (err error) {
return err
}
hello, helloInner, err := c.echOfferOrGrease(helloBase)
hello, helloInner, err := c.echOfferOrGrease(ctx, helloBase)
if err != nil {
return err
}