Skip to content

Releases: pires/go-proxyproto

v0.11.0

10 Feb 13:28

Choose a tag to compare

🚨 ATTENTION 🚨 #165 changes how header parsing errors surface to the consumer code. We highly recommend relying on errors.Is and errors.As when handling errors produced by this library.

What's Changed

  • http2: mimic stdlib http2 when connContext returns nil by @pires in #164
  • header: wrap read buffer errors instead of dropping by @pires in #165

Full Changelog: v0.10.0...v0.11.0

v0.10.0

06 Feb 12:24

Choose a tag to compare

What's Changed

  • ci,lint: explicit linter configuration and subsequent fixes by @pires in #141
  • Fix nil panic when TestParseV2Invalid fails by @emersion in #143
  • Run gofmt by @emersion in #146
  • ci: fix duplicated checks by @pires in #151
  • protocol: readHeader() respects previously called conn.SetReadDeadline(t) by @pires in #152
  • protocol: test LOCAL uses underlying addresses by @pires in #153
  • Use same bufio.Reader size for NewConn and for tests by @emersion in #154
  • Bump maximum header size to 4KiB, alternative version by @emersion in #155
  • protocol: don't buffer underlying conn reads after parsing header by @pires in #148
  • readme: fix coveralls badge by @pires in #159
  • v2: drop unnecessary io.LimitReader in parseVersion2 by @emersion in #158
  • http2: return http.ErrServerClosed in Server.Serve by @emersion in #160
  • protocol: allow per-listener and per-conn custom read buffer size by @pires in #163

Big shout-out to @clementnuss @bollenberger and @AlexanderYastrebov for contributions that didn't get entirely merged but their critique was key to get buffer reading bug fixes and improvements out.

Full Changelog: v0.9.2...v0.10.0

v0.9.2

27 Jan 00:02

Choose a tag to compare

What's Changed

  • http2: support http.Server.BaseContext & avoid empty ALPN on TLS by @emersion and @pires in #140

Full Changelog: v0.9.1...v0.9.2

v0.9.1

24 Jan 09:10

Choose a tag to compare

What's Changed

Full Changelog: v0.9.0...v0.9.1

v0.9.0

20 Jan 22:21

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.9.0

v0.8.1

03 May 13:34

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.0...v0.8.1

v0.8.0

08 Oct 17:58

Choose a tag to compare

What's Changed

  • Add an helper for proxied HTTP/2 by @emersion in #102
  • build(deps): bump golang.org/x/net from 0.12.0 to 0.17.0 by @dependabot in #103
  • build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 by @dependabot in #109
  • Add support for validating the downstream ip of the connection by @kmala in #108
  • add SetReadHeaderTimeout opt for NewConn by @pieropio in #113
  • header.go prevent otherHeader.rawTLVs being nil by @hilbix in #104
  • protocol: avoid double buffering by @mmatczuk in #116
  • lint: replace math/rand.Read with crypto/rand.Read by @pires in #118
  • Protocol: Keep listener listening if we don't trust the upstream address by @peteski22 in #110

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

15 Mar 10:39

Choose a tag to compare

What's Changed

  • Bump DefaultReadHeaderTimeout to 10s by @emersion in #84
  • Add method to get SSL cipher from the SSL TLV by @dgl in #91
  • add support for parsing IPv4-mapped IPv6 addresses by @drakkan in #97
  • Add SKIP policy to not expect a PROXY header by @kayrus in #96
  • Revisit CI by @pires in #99

New Contributors

  • @dgl made their first contribution in #91
  • @kayrus made their first contribution in #96

Full Changelog: v0.6.2...v0.7.0

v0.6.2

02 Mar 12:06
v0.6.2
db39a71

Choose a tag to compare

v0.6.1

08 Sep 10:13
2e44d7a

Choose a tag to compare

Bugfixes

  • Critical: Reset read deadline after parsing header (#76) thanks a ton to @antoniomika and a bunch of other folks who contributed to finding the solution

Improvements