We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 293887e + e072e46 commit d8a17cdCopy full SHA for d8a17cd
src/bidirectional_stream.go
@@ -24,7 +24,7 @@ func (f *bidirectionalStreamFactory) New(netFlow, tcpFlow gopacket.Flow) tcpasse
24
key := netFlow.FastHash() ^ tcpFlow.FastHash()
25
26
// The second time we see the same connection, it will be from the server to the client
27
- if conn, ok := f.conns.Load(fmt.Sprint(key)); ok {
+ if conn, ok := f.conns.LoadAndDelete(fmt.Sprint(key)); ok {
28
return &conn.(*bidirectionalStream).serverToClient
29
}
30
0 commit comments