claude implements UDP GSO

This commit is contained in:
Jay Wren
2026-02-04 10:29:37 -05:00
parent 30db76ed79
commit 6b6a4bc1cc
9 changed files with 227 additions and 6 deletions

View File

@@ -102,6 +102,10 @@ func (u *GenericConn) SupportsMultipleReaders() bool {
return false
}
func (u *GenericConn) SupportsGSO() bool {
return false
}
func (u *GenericConn) WriteBatch(pkts []BatchPacket) (int, error) {
for i := range pkts {
if err := u.WriteTo(pkts[i].Payload, pkts[i].Addr); err != nil {