What's Changed
- net: change dial t/o to 25s by @mmatczuk in #881
- martian: fix link name by @mmatczuk in #884
- tls: if TLSClientConfig.Insecure is set use all cipher suites by @mmatczuk in #892
- linkname: remove usage of net.lookupStaticHost by @mmatczuk in #899
- log: run test only in unix by @mmatczuk in #893
- Refactor osdns to avoid using custom linker flags in common situations by @mmatczuk in #903
- net: fix addr2Host for backwards compatibility with isLocalhost() by @mmatczuk in #906
- Add --connect-to flag that allows to change dial target by @mmatczuk in #905
- martian: extract common code of proxyConn.handleConnectRequest() and proxyHandler.handleConnectRequest() to a function by @mmatczuk in #908
- log/stdlog: allow to pass options when creating a sublogger by @budziam in #913
- http_proxy_errors: improve tls errors handling by @Choraden in #910
- Support for PROXY protocol v1 and v2 by @mmatczuk in #920
- chore(proxyproto) add v2 tests by @mmatczuk in #922
- chore(proxyproto/testdata): fix import path by @mmatczuk in #923
- bind: fix passing default value for --dns-server flag by @Choraden in #929
- martian: log with request ctx in h2writer by @Choraden in #934
- bind: rename proxy-protocol-enabled to proxy-protocol-listener flag by @mmatczuk in #935
- martian(test): implement testHelper pattern by @Choraden in #939
- martian: move TLS handshake from forwarder.Listener by @Choraden in #941
- e2e: enable goleak check by @Choraden in #909
- conntrack: add connection tracker wrapper based on connfu by @mmatczuk in #943
- net: conntrack improvements by @mmatczuk in #946
- net: add TrackTraffic knob to Listener by @mmatczuk in #947
- chore: extract listener config by @mmatczuk in #948
- http proxy: allow multiple listeners by @mmatczuk in #949
- Fix connect response that prevented proper working of websockets in FireFox by @mmatczuk in
- http proxy: make isLocalhost() case insensitive by @mmatczuk in #961
- chore: bump go version by @mmatczuk in #962
- Do not close client connection after returning HTTP status code 304 by @mmatczuk in #963
- net: use KeepAliveConfig from standard net package by @Choraden in #965
- martian(mitm): fix connect error response propagation by @mmatczuk in #966
- On shutdown try to drain connections for 30s and close them by @mmatczuk in #967
- Fix local/browser and add mk targets for profiling by @mmatczuk in #968
- docs: move website to opensource.saucelabs.com/forwarder/ by @mmatczuk in #969
- mitm: LRU cache for certificates by @mmatczuk in #971
- metrics: connections use active instead of closed by @mmatczuk in #972
- martian: enable gosec, errcheck and bodyclose linters by @mmatczuk in #973
- martian/header: optimized ViaModifier implementation by @mmatczuk in #974
- middleware(prometheus): use summaries instead of histograms by @mmatczuk in #975
- bench/gnet: scripts to run wrk against gnet http server over proxy by @mmatczuk in #980
- net: dial retries by @mmatczuk in #981
New Contributors
Full Changelog: v1.3.2...v1.4.0