chore: add WaitReadFrom support in ssr

This commit is contained in:
wwqgtxx
2023-05-28 22:51:26 +08:00
parent 097f3e250c
commit 8e88e0b9f5
20 changed files with 182 additions and 88 deletions

View File

@ -10,8 +10,6 @@ type WaitReadFrom interface {
WaitReadFrom() (data []byte, put func(), addr net.Addr, err error)
}
func NilPut() {}
type EnhancePacketConn interface {
net.PacketConn
WaitReadFrom