Commit Graph

400 Commits (d80440f3d57b45c829dbf513306f7adf9a0f3f76)

Author SHA1 Message Date
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 b453190e58
fix lint errors in socks
7 years ago
Darien Raymond dd52e82c2d
fix access log in socks udp
7 years ago
Darien Raymond 213f827406
policy for internal buffer size
7 years ago
Darien Raymond 68da956fc4
re-generate code
7 years ago
Darien Raymond 8eb84a2025
Close outbound output stream properly. fix #1082
7 years ago
Darien Raymond 148a7d064d
simplify buf.BufferedReader
7 years ago
Darien Raymond 3997d13b97
rename Slice and Slice from to Resize and Advance
7 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method
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 9d7f43a299
fix lint errors
7 years ago
Shelikhoo c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
7 years ago
Darien Raymond 08dab81eb2
migrate int to int32
7 years ago
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size
7 years ago
Darien Raymond e44394ade5
more informational error
7 years ago
Darien Raymond fda85506c8
reuse buffer
7 years ago
Darien Raymond caa52e9327
early release buffers for better reusing
7 years ago
Darien Raymond 61c258f2be
input channel was being closed too quickly
7 years ago
Darien Raymond af1abf687c
unify all address reading and writing
7 years ago
Darien Raymond a059ee2c00
fix lint errors
7 years ago
Darien Raymond 798212b311
fix timer settings
7 years ago
Darien Raymond 768e30c37b
disable socks 4 when auth is required.
7 years ago
Darien Raymond 6b872c266c
session id
7 years ago
Darien Raymond 0920af171b
remove redundent code
7 years ago
Darien Raymond 1077e33d62
unify address reading in socks and shadowsocks
7 years ago
Darien Raymond 88b25d38cb
simplify context retrieval
7 years ago
Darien Raymond 1f8fcb558d
fix error handling in freedom, shadowsocks and socks
7 years ago
Shelikhoo 7f34cbdaff
Add Generated Files
7 years ago
Darien Raymond 292d7cc353
massive refactoring for interoperability
7 years ago
Darien Raymond 664b840812
send username/password together with initial handshake data in socks client. Fix #785
7 years ago
Darien Raymond f4c35db968
merge log into common log
7 years ago
Darien Raymond 81c4f23691
merge address writing
7 years ago
Darien Raymond d43a23aa96
move error generator to common
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 cec45a416c allow fast close on UDP session. fix #682
7 years ago
Darien Raymond 74cf833758 fully migrate to new assertion lib
7 years ago
Darien Raymond 26818a2602 fix domain length issue for all proxies
7 years ago
Darien Raymond 3a27ff8239 increase default timeout to 5 minutes
7 years ago
Darien Raymond 109a37fe7e aggressively close connection when response is done
7 years ago
Darien Raymond 190adf1872 fix socks client for super long domain
7 years ago
Darien Raymond b589ca89c1 refactor
7 years ago
Darien Raymond 9594f76f93 ensure enough buffer for socks header
7 years ago
Darien Raymond 1c856a46ab step 1 to remove reference to net package
7 years ago
Darien Raymond 5829b45bbe
close timer faster
8 years ago
Darien Raymond bd8239f12d
remove unused code
8 years ago
Darien Raymond 6f3362fc4c
update activity
8 years ago
Darien Raymond 6a90ce3c43
comments
8 years ago
Darien Raymond 498c7dafdf
clean udp writer
8 years ago
Darien Raymond 5bfab82c41
refactor
8 years ago
Darien Raymond ceffb71e7b
refactor
8 years ago
Darien Raymond ab9349ec31
rename buf.Copy
8 years ago
Darien Raymond d6988f1a63
simplify code
8 years ago
Darien Raymond b1dfff2fdd
remove 8k buffer pool
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago
Darien Raymond ac8d882a55
check number of socks servers
8 years ago
Darien Raymond 0e01e9e9ca
comments
8 years ago
Darien Raymond 7c1b3ac1f0
cleanup error messages
8 years ago
Darien Raymond 35248497d2
refactor error messages
8 years ago
Darien Raymond ade8453c0a
completely remove connection reuse feature
8 years ago
Darien Raymond b4cd497abf
update error messages
8 years ago
Darien Raymond 75f5cb9afb
refactor log and error
8 years ago
Darien Raymond fc31f9b94c
refactor error interface
8 years ago
Darien Raymond 2e5cb82790
update proto
8 years ago
Darien Raymond f34ad57b58
refactor timer api
8 years ago
Darien Raymond a57531ef5d
cancel context after finish
8 years ago
Darien Raymond d627638412
refine error message
8 years ago
Darien Raymond 6363c33790
detect actual address type for domain address type
8 years ago
Darien Raymond 020b436827
merge bufio into buf
8 years ago
Darien Raymond 5e7fb6d0dd
refine error handling in retry logic
8 years ago
Darien Raymond d04d92c187
update context functions
8 years ago
Darien Raymond b5d14b6823
update java options
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 ad7d98473f
remove timeout reader
8 years ago
Darien Raymond c462e35aad
cancel sessions after inactivity
8 years ago
Darien Raymond 6629b6dd28
fix socks password authentication
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 6056cc6638
handle nil error
8 years ago
Darien Raymond f2b1d5b60c
InboundHandler.Proxy()
8 years ago
Darien Raymond 8b00d6fc30
clean imports
8 years ago
Darien Raymond b40a139310
simplify import
8 years ago
Darien Raymond f7e1f00c88
rename dispatcher.Interface
8 years ago
Darien Raymond 148e4832eb
leverage global object creator in proxies.
8 years ago
Darien Raymond d24fe9dbfb
separate network and transport protocol
8 years ago
Darien Raymond 72992c7478
able to close ray stream with error
8 years ago
Darien Raymond d999bf62e2
fix link warnings
8 years ago
Darien Raymond f2a750a019
comment out unused const
8 years ago
Darien Raymond 74938dc428
write back error status when authentication timeout
8 years ago
Darien Raymond 2e46e95536
fix #277
8 years ago