Remove unused function from eBPF proxy

This commit is contained in:
Zoltán Papp
2024-10-07 10:35:53 +02:00
parent acad98e328
commit 90d9dd4c08

View File

@@ -67,16 +67,6 @@ func (p *ProxyWrapper) Pause() {
p.pausedMu.Unlock()
}
func (p *ProxyWrapper) Resume() {
if p.remoteConn == nil {
return
}
p.pausedMu.Lock()
p.paused = false
p.pausedMu.Unlock()
}
// CloseConn close the remoteConn and automatically remove the conn instance from the map
func (e *ProxyWrapper) CloseConn() error {
if e.cancel == nil {