Commit Graph

251 Commits (0650af46f4d7768cf778ce0e1ebd64349d23841a)

Author SHA1 Message Date
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 f2f1ad8d6b
fix test break
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 2e5cb82790
update proto
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 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 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 c9a421fba6
remove generate package comments in .pb.go files.
8 years ago
Darien Raymond 20fe6d10a4
rollback gitignore change
8 years ago
Darien Raymond 52e1dfaeac
remove all generated files
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 a4dfca0ef7
accommodate protobuf compiler change
8 years ago
Darien Raymond 7dc7937443
rename ws to websocket
8 years ago
Darien Raymond eb782436b3
proto option for C# namespace
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 5a311cbe08
json config parser
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 af6abfa3e3
update proto generated code
8 years ago
Darien Raymond 91f2a40dae
refine proto package names
8 years ago
Darien Raymond 7de7588ec2
proto for destination
8 years ago
Darien Raymond 7f2ba0d106
remove unnecessary code
8 years ago
Darien Raymond ea2c491ade
global proto gen
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 a5a70afdb8
remove port testing
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
9 years ago
v2ray 754e8b6e78
tls config
9 years ago
v2ray 7f661f5215
rename Error to Err
9 years ago
v2ray 9b6dc6bcea massive refactoring for kcp
9 years ago
v2ray 09f7e8b61e meaningful error message
9 years ago
v2ray e732ba62a6 unified config loader
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 3f9cb1136a allow dynamic type of user accounts
9 years ago
v2ray 46f76e55e5 reorg chan reader
9 years ago
v2ray 3156c4586c Allow data stream passing through http proxy
9 years ago
v2ray ab39750ceb Remove serial.Bytes
9 years ago
v2ray fc63f0432c simplify testing
9 years ago
v2ray 3582b9d869 move net/testing/assert into assert
9 years ago
v2ray cfdda19834 Shorten BytesLiteral
9 years ago
v2ray ef200c3c5e http client
9 years ago
v2ray f2c656843e allow tls connection in http proxy
9 years ago
v2ray b65017d28d Fix build break
9 years ago
v2ray 301b0ccff7 refine cert config in http
9 years ago
v2ray 7d43952690 tcphub now takes tls config as construtor parameter
9 years ago
v2ray f594f5b606 simplify tcp connection
9 years ago
v2ray 94eab286c0 introduct Connection interface
9 years ago
v2ray 42907ff2e8 Remove v2net.Packet
9 years ago
v2ray c044234e4a tls settings for http proxy
9 years ago
v2ray 44bf412dfc release all adaptive readers and writers
9 years ago
v2ray 7407c8d561 use stream instead of raw chan
9 years ago
v2ray b60f491cec add test case for http proxy
9 years ago
v2ray c6df0fde19 clean up variable initialization
9 years ago
v2ray d3ff2b3698 chunk stream in vmess
9 years ago
v2ray 2031c13a7f refactor app.Space
9 years ago
Darien Raymond 008c285324 move transport methods from net to io
9 years ago
v2ray 1f9bd5f692 rename TCPListener to TCPHub
9 years ago
Darien Raymond 925c06aeed rename transport/listener to hub
9 years ago
v2ray 8ae8b3c9f5 custom tcp listener and connection object
9 years ago
Darien Raymond 6b894c719d own hosts in http config
9 years ago
v2ray 9ae258de3d rename
9 years ago
v2ray 01ed2fa889 rename RegisterInboundConnectionConfig to RegisterInboundConfig
9 years ago
v2ray 9fe8178e4a rename InboundConnectionHandler to InboundHandler
9 years ago
v2ray b0adb24003 handle inbound detour in vmess inbound
9 years ago
v2ray 65d5c07533 BytesLiteral.String
9 years ago
v2ray eec0bb4db4 lazy evaluation of log fields
9 years ago
v2ray 48f1d34ca5 fix config in http
9 years ago
v2ray e5fa96f814 massive refactoring against json config parsing
9 years ago
v2ray 04e7dc87a8 log request content as debug
9 years ago
v2ray 47e2d957d1 don't process malformed request
9 years ago
v2ray 5b1854f842 simplify connection handler registration
9 years ago
v2ray 5f6d932c03 fixes for mutex usage
9 years ago
v2ray 59a5f832f6 fixes for sync logic
9 years ago
v2ray 4a7f45113a check accepting in http
9 years ago
v2ray 56c5302367 close method for point server
9 years ago
v2ray 201481a82c close method for inbound connection handler
9 years ago
v2ray 0780db7999 move connhandler to proxy
9 years ago
v2ray 54ce82fbfa Move unnecessary functions to internal
9 years ago
v2ray 1c4c9bffad Move proxy/common/config to proxy/internal/config
9 years ago
v2ray 3baa1f5bc5 interface for inbound connection handler manager
9 years ago
adoot 09bf6def69 http bug fixes & disable keep-alive
9 years ago
v2ray 34a0cb0b70 move port out of address
9 years ago
v2ray e3a00d1400 improve http proxy effeciency
9 years ago
v2ray b3ec97058e refind http proxy
9 years ago
v2ray 34f34bb25d refine http proxy
9 years ago
v2ray e12e5a0ecb barely working http proxy
9 years ago
v2ray d0a75ce9f3 handle connect request in http proxy
9 years ago
Darien Raymond 05caf04eee unfinished http proxy
9 years ago
Darien Raymond ae056714db refactor common/net.Port
9 years ago
V2Ray 2b45e63607 Move config cache to proxy/common
9 years ago