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
60d3ba3b
ROOT
/
inbound
/
shadowtls.go
Search
History
181 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ShadowTLS
myInboundAdapter
handshakeDialer
:
N.Dialer
handshakeAddr
:
M.Socksaddr
v2
:
bool
password
:
string
fallbackAfter
:
int
NewShadowTLS
(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.ShadowTLSInboundOptions)
:
(*ShadowTLS, error)
*ShadowTLS
NewConnection
(ctx context.Context, conn net.Conn, metadata adapter.InboundContext)
:
error
copyUntilHandshakeFinished
(dst io.Writer, src io.Reader)
:
error
copyUntilHandshakeFinishedV2
(ctx context.Context, dst net.Conn, src io.Reader, hash *shadowtls.HashWriteConn, fallbackAfter int)
:
(*buf.Buffer, error)
All occurrences
Please wait...
Page is in error, reload to recover