Commit Graph

154 Commits (5fa62c393b15c2c7e2e29354f4c3e1afe6225fbb)

Author SHA1 Message Date
Darien Raymond b7d022702e
warn user when http proxy is not finished properly
7 years ago
Darien Raymond 721bea5d54
fix lint warnings
7 years ago
Darien Raymond 74327ea8ae
prevent using net.Conn.WriteTo()
7 years ago
Darien Raymond 9f146ac7d2
cleanup
7 years ago
Darien Raymond ed1243b32b
require proxy auth when not set. fix #712
7 years ago
Darien Raymond 028b2b74c9
fix lint warning
7 years ago
Darien Raymond a6393449e0
force reader to be nil
7 years ago
Darien Raymond 5e8cf7bde6
redo http upload performance
7 years ago
Darien Raymond 41bc2a6ce4
Revert "improve performance for http upload"
7 years ago
Darien Raymond c4be61e854
retrieve the root cause of the error
7 years ago
Darien Raymond cddf74334d
improve performance for http upload
7 years ago
Darien Raymond f3c5df8798
make sure writer not buffered
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
DarienRaymond 71d34e7451
Merge pull request #685 from valture/ua-leak
7 years ago
Darien Raymond 4444cc985d http proxy in transparent mode
7 years ago
Valture 973378d610 Prevent UA from being set to golang's default ones
7 years ago
Darien Raymond fde421ac58 Revert "check request.Host instead of request.URL.Host. fix #681"
7 years ago
Darien Raymond ba16987a07 check request.Host instead of request.URL.Host. fix #681
7 years ago
Darien Raymond 10712b3235 fix http port parsing
7 years ago
Darien Raymond 100391fdb7 fix http basic auth. fix #659
7 years ago
Darien Raymond 1d3c8098e9 basic auth in http server
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 1c856a46ab step 1 to remove reference to net package
7 years ago
Valture 2058920d95 fix HTTP proxy OK response
7 years ago
Darien Raymond 6f3362fc4c
update activity
8 years ago
Darien Raymond 33ba08be77
reduce buffer size for http header reading
8 years ago
Darien Raymond 9db86e871e
close connection when content length unknown
8 years ago
Darien Raymond 18904e9adb
only keep connection alive when content length is known
8 years ago
Darien Raymond 72d5d68443
fix http connect handling
8 years ago
Darien Raymond 35acdb8385
detailed error message
8 years ago
Darien Raymond ab9349ec31
rename buf.Copy
8 years ago
Darien Raymond 8868fe68ed
optimize http server
8 years ago
Darien Raymond 8800238d24
improve http response performance
8 years ago
Darien Raymond 042e5e8033
multiple fixes for http proxy
8 years ago
Darien Raymond 62c896e8b8
correctly handle keep-alive in http server
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 2668954c12
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 db8e09512c
stop sending content-length in http CONNECT
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 0f71305ee1
refine log message
8 years ago
Darien Raymond 020b436827
merge bufio into buf
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 f6e0d08d34
Fix HTTP proxy
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 ca721230e1
split listening settings from inbound proxies and apply context
8 years ago
Darien Raymond f2b1d5b60c
InboundHandler.Proxy()
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 b11d48d73f
simplify app design
8 years ago
Darien Raymond e678000c44
remove release() pattern
8 years ago
Darien Raymond 31d6e74482
remove rawtcp
8 years ago
Darien Raymond f6aa7a0053
fix usage of ray stream.
8 years ago
Darien Raymond 609dbc1f13
task engine for all proxies
8 years ago
Darien Raymond 7d31c0641b
fix lint warnings
8 years ago
Darien Raymond 7c751fcca0
common.Must
8 years ago
Darien Raymond 52fcfd71e6
Revert "Close http connection ASAP."
8 years ago
Darien Raymond 56f08afd9c
Close http connection ASAP.
8 years ago
Darien Raymond 1ab02e0a6b
refactor proxy registry
8 years ago
Darien Raymond 50bc195f7f
rename TypedSettings to TypedMessage
8 years ago
Darien Raymond 1948d0738f
refactor io package
8 years ago
Darien Raymond efb24a4d21
rewrite error lib
8 years ago
Darien Raymond f95c322677
rename 'this'
8 years ago
Darien Raymond 6804d8f73a
better handling error from Pipe()
8 years ago
Darien Raymond 9471b5b066
refine dispatcher
8 years ago
Darien Raymond e33b7df34c
remove use of any
8 years ago
Darien Raymond 1d13f47f9c
protobuf for stream settings
8 years ago
Darien Raymond 7de7588ec2
proto for destination
8 years ago
Darien Raymond bbca180dba
try protobuf
8 years ago
v2ray 07a86f549b
unified import path
8 years ago
v2ray 39737f6fc1
merge bad configuration error
8 years ago
v2ray 89a876a6d4
rename proxy/internal to proxy/registry
8 years ago
v2ray cc92973daf
fix destination from addr
8 years ago
v2ray a9d583b92f
connection session
8 years ago
v2ray bcd27ba36f
option to allow passive connection
8 years ago
v2ray 3f396078ab
remove unnecessary buffer
8 years ago
v2ray 30041041d3
timeout settings in http proxy
8 years ago
v2ray 7f661f5215
rename Error to Err
9 years ago
v2ray 9b6dc6bcea massive refactoring for kcp
9 years ago
v2ray 5eae540e5c log access in socks and http
9 years ago
v2ray 50ca869929 organize handler metadata
9 years ago
v2ray a4d76dc394 support using specific address
9 years ago
v2ray 4b92e6b25b update log
9 years ago
v2ray 6ce7b1d532 informational logs
9 years ago
v2ray 9b07ffd68f cleanup http proxy package
9 years ago
v2ray b47c1ca609 get rid of annoying firewall warnings
9 years ago
v2ray 46f76e55e5 reorg chan reader
9 years ago