Commit Graph

187 Commits (39cfc982b5ef64d223a24de45105cf5ed973f0f8)

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