Commit Graph

251 Commits (0650af46f4d7768cf778ce0e1ebd64349d23841a)

Author SHA1 Message Date
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 68da956fc4
re-generate code
7 years ago
Darien Raymond 148a7d064d
simplify buf.BufferedReader
7 years ago
Darien Raymond 93d095c766
fix plain http request. fixes #1066
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
wuxiangzhou2010 f0862df9a7 fix typo
7 years ago
Darien Raymond 03512a6a9b
read size to multi buffer
7 years ago
Darien Raymond 12181f527f
defensive fix for improper usage of buf.New().
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 1f226797bc
remove header operation to http protocol package
7 years ago
Darien Raymond b81ff78af3
fix basic auth response
7 years ago
DarienRaymond 82009c869e
Merge pull request #758 from sunshineplan/master
7 years ago
Darien Raymond d43a23aa96
move error generator to common
7 years ago
sunshineplan cf0fc6e4a0
完善HTTP基本认证
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 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 40b97e7cd3 add test for UA header
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 74cf833758 fully migrate to new assertion lib
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 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