Skip to content

Commit

Permalink
fixed issue #492 (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruitianzhong authored Feb 28, 2024
1 parent 7fcc167 commit 286bdcf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions user/module/probe_gotls.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import (

func init() {
mod := &GoTLSProbe{}
mod.name = ModuleNameGotls
mod.mType = ProbeTypeUprobe
Register(mod)
}

Expand Down Expand Up @@ -107,6 +109,7 @@ func (g *GoTLSProbe) Init(ctx context.Context, l *log.Logger, cfg config.IConfig
g.bootTime = uint64(bootTime)

g.tcPackets = make([]*TcPacket, 0, 1024)
g.tcPacketsChan = make(chan *TcPacket, 2048)
g.tcPacketLocker = &sync.Mutex{}
g.masterKeyBuffer = bytes.NewBuffer([]byte{})
return nil
Expand Down

0 comments on commit 286bdcf

Please sign in to comment.