Commit Graph

104 Commits (04c3792cf48e820238002930fd55e2deb3ad8a9a)

Author SHA1 Message Date
Darien Raymond e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182.
6 years ago
Darien Raymond 9977eadf8c
remove dependency from errors to session
7 years ago
Darien Raymond 13f3c356ca
unified task package
7 years ago
Darien Raymond 7fa4bb434b
fix pipe closing logic for inbound proxies.
7 years ago
Darien Raymond 213f827406
policy for internal buffer size
7 years ago
Darien Raymond 148a7d064d
simplify buf.BufferedReader
7 years ago
Darien Raymond 5d23604713
rewrite ray -> pipe
7 years ago
Darien Raymond 0caf92726b
better way to run tasks in parallel
7 years ago
Darien Raymond 074dfbb78c
add network list to shadowsocks server
7 years ago
Darien Raymond fa63beceb6
fix double release on buffers
7 years ago
Darien Raymond caa52e9327
early release buffers for better reusing
7 years ago
Darien Raymond 798212b311
fix timer settings
7 years ago
Darien Raymond 6b872c266c
session id
7 years ago
Darien Raymond 88b25d38cb
simplify context retrieval
7 years ago
Darien Raymond 292d7cc353
massive refactoring for interoperability
7 years ago
Darien Raymond f4c35db968
merge log into common log
7 years ago
Darien Raymond f6bb214d30
fix lint warnings
7 years ago
Darien Raymond fd8db49dc9
generalized event handler
7 years ago
Darien Raymond f90ec9fff0
rename interfaces
7 years ago
Darien Raymond 3214a5078c
customizable policy
7 years ago
Darien Raymond 0dbfb66126
clean up dns package
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond cab5c10fc2
remove use of KeepAlive
7 years ago
Darien Raymond 109a37fe7e aggressively close connection when response is done
7 years ago
Darien Raymond 8971e699d9 common.Must2
7 years ago
Darien Raymond 6f3362fc4c
update activity
8 years ago
Darien Raymond 498c7dafdf
clean udp writer
8 years ago
Darien Raymond ab9349ec31
rename buf.Copy
8 years ago
Darien Raymond 2f565bfd5e
simplify ray stream
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago
Darien Raymond 35248497d2
refactor error messages
8 years ago
Darien Raymond 9bb66b4de4
update error messages
8 years ago
Darien Raymond de0d0b3eb0
fix test break
8 years ago
Darien Raymond ade8453c0a
completely remove connection reuse feature
8 years ago
Darien Raymond fc31f9b94c
refactor error interface
8 years ago
Darien Raymond f34ad57b58
refactor timer api
8 years ago
Darien Raymond a57531ef5d
cancel context after finish
8 years ago
Darien Raymond 020b436827
merge bufio into buf
8 years ago
Darien Raymond f2e149e1d0
remove unnecessary error
8 years ago
Darien Raymond d04d92c187
update context functions
8 years ago
Darien Raymond c4d0227977
simplify dialer and dispatcher parameters
8 years ago
Darien Raymond f046f334cd
move common/log to app/log
8 years ago
Darien Raymond 08b9778f05
refine user timeout
8 years ago
Darien Raymond ad7d98473f
remove timeout reader
8 years ago
Darien Raymond c462e35aad
cancel sessions after inactivity
8 years ago
Darien Raymond c09ca41161
handle close wait
8 years ago
Darien Raymond fab20bb0cf
close outbound connections when context is done
8 years ago
Darien Raymond 18e1ca85aa
rename udp.Server
8 years ago
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context
8 years ago
Darien Raymond f2b1d5b60c
InboundHandler.Proxy()
8 years ago