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