[client] Reinject captured first packet on lazy connection activation (#6572)

This commit is contained in:
Viktor Liu
2026-06-30 11:22:25 +02:00
committed by GitHub
parent 5b5f11740a
commit 4ef65294e9
15 changed files with 169 additions and 36 deletions
+5
View File
@@ -136,6 +136,11 @@ func (p *ProxyBind) CloseConn() error {
return p.close()
}
// InjectPacket is a no-op for the userspace proxy: first-packet reinjection is kernel-only.
func (p *ProxyBind) InjectPacket(_ []byte) error {
return nil
}
func (p *ProxyBind) close() error {
if p.remoteConn == nil {
return nil