Improve rule actions

This commit is contained in:
世界
2024-11-06 17:30:40 +08:00
parent 94d187397d
commit 017fa5e298
10 changed files with 434 additions and 150 deletions

View File

@@ -43,6 +43,7 @@ func HandleStreamDNSRequest(ctx context.Context, router adapter.Router, conn net
go func() error {
response, err := router.Exchange(adapter.WithContext(ctx, &metadataInQuery), &message)
if err != nil {
conn.Close()
return err
}
responseBuffer := buf.NewPacket()