Breaking Changes
-
The values for the protocol now belong to an enum type
Proto
. -
The signature of the
proxyutil.DNSSize
has been changed to not require the protocol. -
Layouts of some functions have been optimized, so now they accept and return pointers to large structs instead of the structs themselves. Those functions are:
proxy.ParseUpstreamsConfig
upstream.AddressToUpstream
upstream.NewResolver
Added
proxy.DNSContext.RequestID
field.