File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ func (q *UQUICConn) HandleData(level QUICEncryptionLevel, data []byte) error {
129
129
// SendSessionTicket sends a session ticket to the client.
130
130
// It produces connection events, which may be read with NextEvent.
131
131
// Currently, it can only be called once.
132
- func (q * UQUICConn ) SendSessionTicket (earlyData bool ) error {
132
+ func (q * UQUICConn ) SendSessionTicket (opts QUICSessionTicketOptions ) error {
133
133
c := q .conn
134
134
if ! c .isHandshakeComplete .Load () {
135
135
return quicError (errors .New ("tls: SendSessionTicket called before handshake completed" ))
@@ -141,7 +141,7 @@ func (q *UQUICConn) SendSessionTicket(earlyData bool) error {
141
141
return quicError (errors .New ("tls: SendSessionTicket called multiple times" ))
142
142
}
143
143
q .sessionTicketSent = true
144
- return quicError (c .sendSessionTicket (earlyData ))
144
+ return quicError (c .sendSessionTicket (opts . EarlyData ))
145
145
}
146
146
147
147
// ConnectionState returns basic TLS details about the connection.
You can’t perform that action at this time.
0 commit comments