Commit Graph

90 Commits (6e61538b36f2d89f1ca7afbb8a7ac8f58b56431d)

Author SHA1 Message Date
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