Skip to content

Commit

Permalink
fix: Reuse existing PreSharedKeyExtension bug (refraction-networking#248
Browse files Browse the repository at this point in the history
)
  • Loading branch information
VeNoMouS committed Oct 9, 2023
1 parent 75eb8e9 commit 780a63e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions u_session_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ type sessionController struct {
func newSessionController(uconn *UConn) *sessionController {
return &sessionController{
uconnRef: uconn,
sessionTicketExt: &SessionTicketExtension{},
pskExtension: &UtlsPreSharedKeyExtension{},
sessionTicketExt: nil,
pskExtension: nil,
state: NoSession,
locked: false,
callingLoadSession: false,
Expand Down

0 comments on commit 780a63e

Please sign in to comment.