Fix AEAD UDP server

This commit is contained in:
世界 2023-05-09 13:38:48 +08:00
parent f772573405
commit d83f8fe119
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -196,7 +196,7 @@ func (c *serverConn) ReaderMTU() int {
return MaxPacketSize return MaxPacketSize
} }
func (c *serverConn) WriteIsThreadUnsafe() { func (c *Service) WriteIsThreadUnsafe() {
} }
func (s *Service) NewPacket(ctx context.Context, conn N.PacketConn, buffer *buf.Buffer, metadata M.Metadata) error { func (s *Service) NewPacket(ctx context.Context, conn N.PacketConn, buffer *buf.Buffer, metadata M.Metadata) error {