crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
dd5b0abc
ROOT
/
transport
/
vless
/
vision.go
Search
History
366 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
tlsRegistry
:
[]func(conn net.Conn) (loaded bool, netConn net.Conn, reflectType reflect.Type, reflectPointer uintptr)
init
()
xrayChunkSize
VisionConn
net.Conn
reader
:
*bufio.ChunkReader
writer
:
N.VectorisedWriter
input
:
*bytes.Reader
rawInput
:
*bytes.Buffer
netConn
:
net.Conn
logger
:
logger.Logger
userUUID
:
[16]byte
isTLS
:
bool
numberOfPacketToFilter
:
int
isTLS12orAbove
:
bool
remainingServerHello
:
int32
cipher
:
uint16
enableXTLS
:
bool
isPadding
:
bool
directWrite
:
bool
writeUUID
:
bool
withinPaddingBuffers
:
bool
remainingContent
:
int
remainingPadding
:
int
currentCommand
:
int
directRead
:
bool
remainingReader
:
io.Reader
NewVisionConn
(conn net.Conn, userUUID [16]byte, logger logger.Logger)
:
(*VisionConn, error)
*VisionConn
Read
(p []byte)
:
(n int, err error)
Write
(p []byte)
:
(n int, err error)
filterTLS
(buffers [][]byte)
padding
(buffer *buf.Buffer, command byte)
:
*buf.Buffer
unPadding
(buffer []byte)
:
[][]byte
Upstream
()
:
any
All occurrences
Please wait...
Page is in error, reload to recover