mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-08 22:19:20 +02:00
efd32b0fb2
- Add outbound name - Add outbound conn in ctx - Refactor splice: it can be turn on from all inbounds and outbounds - Refactor splice: Add splice copy to vless inbound - Fix http error test - Add freedom splice toggle via env var - Populate outbound obj in context - Use CanSpliceCopy to mark a connection - Turn off splice by default
10 lines
214 B
Go
10 lines
214 B
Go
package proxy
|
|
|
|
import "github.com/xtls/xray-core/common/errors"
|
|
|
|
type errPathObjHolder struct{}
|
|
|
|
func newError(values ...interface{}) *errors.Error {
|
|
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
|
}
|