proxy/proxy.go: IsRAWTransport() -> IsRAWTransportWithoutSecurity()

This commit is contained in:
RPRX
2025-09-02 18:15:08 +00:00
committed by GitHub
parent 4064f8dd80
commit e943de5300
6 changed files with 9 additions and 9 deletions

View File

@@ -96,7 +96,7 @@ func (s *Server) ProcessWithFirstbyte(ctx context.Context, network net.Network,
inbound.User = &protocol.MemoryUser{
Level: s.config.UserLevel,
}
if !proxy.IsRAWTransport(conn) {
if !proxy.IsRAWTransportWithoutSecurity(conn) {
inbound.CanSpliceCopy = 3
}
var reader *bufio.Reader