mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-07 05:57:34 +03:00
RELEASE: Go 1.21 (#216)
* sync: Go 1.21.0 * [release-branch.go1.21] crypto/tls: change SendSessionTicket to take an options struct To allow for future evolution of the API, make QUICConn.SendSessionTicket take a QUICSessionTicketOptions rather than a single bool. Change-Id: I798fd0feec5c7581e3c3574e2de99611c81df47f Reviewed-on: https://go-review.googlesource.com/c/go/+/514997 Reviewed-by: Roland Shoemaker <roland@golang.org> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Marten Seemann <martenseemann@gmail.com> (cherry picked from commit a915b99) Reviewed-on: https://go-review.googlesource.com/c/go/+/515335 Auto-Submit: Damien Neil <dneil@google.com> Co-Authored-By: Damien Neil <52544+neild@users.noreply.github.com> * new: CI bump up to use Go 1.21.0 stable release * fix: better CI streamline for multi-platform --------- Co-authored-by: Damien Neil <52544+neild@users.noreply.github.com>
This commit is contained in:
parent
2ae5748ff0
commit
a998534bf3
5 changed files with 22 additions and 42 deletions
|
@ -125,7 +125,8 @@ func runTestQUICConnection(ctx context.Context, cli, srv *testQUICConn, onHandle
|
|||
case QUICHandshakeDone:
|
||||
a.complete = true
|
||||
if a == srv {
|
||||
if err := srv.conn.SendSessionTicket(false); err != nil {
|
||||
opts := QUICSessionTicketOptions{}
|
||||
if err := srv.conn.SendSessionTicket(opts); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue