From 286bdcf4dfb586d3dfeb79e394bad91aa05a5824 Mon Sep 17 00:00:00 2001 From: Ruitian Zhong Date: Wed, 28 Feb 2024 08:52:01 +0800 Subject: [PATCH] fixed issue #492 (#493) --- user/module/probe_gotls.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/user/module/probe_gotls.go b/user/module/probe_gotls.go index a3bd0ff13..c11479316 100644 --- a/user/module/probe_gotls.go +++ b/user/module/probe_gotls.go @@ -24,6 +24,8 @@ import ( func init() { mod := &GoTLSProbe{} + mod.name = ModuleNameGotls + mod.mType = ProbeTypeUprobe Register(mod) } @@ -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