Skip to content

Commit 41e35bd

Browse files
committed
Compress responses
1 parent 2d5dc59 commit 41e35bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnscrypt-proxy/plugins.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func (pluginsState *PluginsState) ApplyResponsePlugins(pluginsGlobals *PluginsGl
272272
return packet, nil
273273
}
274274
pluginsState.action = PluginsActionForward
275-
msg := dns.Msg{}
275+
msg := dns.Msg{Compress: true}
276276
if err := msg.Unpack(packet); err != nil {
277277
if len(packet) >= MinDNSPacketSize && HasTCFlag(packet) {
278278
err = nil

0 commit comments

Comments
 (0)