Commit Graph

12 Commits

Author SHA1 Message Date
peakle 1a7995ba88 format err info (#989) 2021-03-05 17:39:17 +01:00
kiyon f40ea7eb40 Improve socks proxy (#990)
* Improve documentation about DelClientCookie which related with #951.

* use proxy.FromURL to support auth
2021-03-05 17:38:59 +01:00
Erik Dubbelboer 00973e5c0a Don't use %w
We support versions of Go that don't have this yet.
2020-11-03 20:43:44 +01:00
Maxim Korolyov d7752d2a70 fixed default schema for for req url (#897) 2020-11-02 22:24:57 +01:00
Maxim Korolyov 9697ccb834 Added httpproxy v2 (#889)
* httpproxy v2 with improved auth barrier storage and full https proxy support

* fixed package name

* moved back the env proxy
2020-10-29 21:05:59 +01:00
Maxim Korolyov 4eac1ae470 Added proxy from env support (#885)
* added proxy from env support

* fixed package name

* fixed err wrapping

* evoid 2 err wrapping in the same format
2020-10-25 14:46:54 +01:00
Vitali Pikulik 56775f4d9f tryDial timeout (#881)
* Change tryDial to handle timeout correctly

* fasthttpproxy/http.go accepts timeout

* Fix example doc

Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com>

* Improve import in httpproxy

* Simplify tryDial

* Cleanup

* Wait for concurrencyCh

Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com>
2020-10-03 09:44:36 +02:00
Erik Dubbelboer 571315f30a Only base64 the proxy auth once 2020-04-23 15:05:56 +02:00
Erik Dubbelboer 54df169029 Add fasthttpproxy.FasthttpHTTPDialer 2020-04-20 18:32:19 +02:00
Erik Dubbelboer 8b0b919f26 Fix FasthttpSocksDialer documentation 2019-09-13 21:47:26 +02:00
Erik Dubbelboer e5e21db0c3 Reuse the socks5 dialer
Fixes https://github.com/valyala/fasthttp/issues/644
2019-09-07 10:13:56 +02:00
Erik Dubbelboer 7529e6b2e5 Add SOCKS5 dialer
See: https://github.com/valyala/fasthttp/issues/161
2018-09-05 19:58:53 +03:00