1
0
Fork 0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-19 01:38:40 +00:00

Update dependencies

This commit is contained in:
世界 2022-07-16 09:32:54 +08:00
parent e459daaaf6
commit 7d52ded2a3
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
5 changed files with 16 additions and 15 deletions
proxy/shadowsocks_2022

View file

@ -4,6 +4,7 @@ package shadowsocks_2022
import (
"context"
"github.com/sagernet/sing-shadowsocks"
"github.com/sagernet/sing-shadowsocks/shadowaead_2022"
C "github.com/sagernet/sing/common"
@ -151,7 +152,7 @@ func (i *Inbound) NewPacketConnection(ctx context.Context, conn N.PacketConn, me
return bufio.CopyPacketConn(ctx, conn, outConn)
}
func (i *Inbound) HandleError(err error) {
func (i *Inbound) NewError(ctx context.Context, err error) {
if E.IsClosed(err) {
return
}