crash.software
Projects
Pull Requests
Issues
Builds
tun2socks
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
tun2socks
Files
🤬
Sign In
9838f57e
ROOT
/
component
/
simple-obfs
/
tls.go
Search
History
197 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
chunkSize
TLSObfs
net.Conn
server
:
string
remain
:
int
firstRequest
:
bool
firstResponse
:
bool
NewTLSObfs
(conn net.Conn, server string)
:
net.Conn
makeClientHelloMsg
(data []byte, server string)
:
[]byte
*TLSObfs
read
(b []byte, discardN int)
:
(int, error)
Read
(b []byte)
:
(int, error)
Write
(b []byte)
:
(int, error)
write
(b []byte)
:
(int, error)
All occurrences
Please wait...
Page is in error, reload to recover