Skip to content

Commit

Permalink
Update pkg/tracex/trace.go
Browse files Browse the repository at this point in the history
Co-authored-by: Simone Basso <bassosimone@gmail.com>
  • Loading branch information
ainghazal and bassosimone authored Feb 13, 2024
1 parent c4fc44a commit 23539c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/tracex/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func (t *Tracer) TimeNow() time.Time {
func (t *Tracer) OnStateChange(state int) {
t.mu.Lock()
defer t.mu.Unlock()

stg := session.SessionNegotiationState(state)
e := newEvent(handshakeEventStateChange, stg, t.TimeNow(), t.zeroTime)
t.events = append(t.events, e)
Expand Down

0 comments on commit 23539c7

Please sign in to comment.