Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable_compression doesn't seem to be working #6230

Open
mlamothe opened this issue Jul 26, 2019 · 1 comment
Open

disable_compression doesn't seem to be working #6230

mlamothe opened this issue Jul 26, 2019 · 1 comment
Labels
needs-investigation The issue described is detailed and complex. type/bug Feature does not function as expected

Comments

@mlamothe
Copy link

mlamothe commented Jul 26, 2019

Overview of the Issue

I have two consul servers configured more or less like this (different IP addresses)

`{
"datacenter": "test",
"data_dir": "/opt/consul",
"encrypt": "####",
"client_addr": "10.30.54.161",
"addresses": {
"http": "0.0.0.0"
},
"server": true,
"bootstrap_expect": 2,
"ui": true,
"bind_addr": "10.30.54.161",
"dns_config": {
"disable_compression": true
}

}`

Reproduction Steps

Setup Consul with disable_compression, the response from a SRV DNS query is still compressed.
This actually crashes Go, which doesn't allow compressed SRV records.

Operating system and Environment details

Consul v1.5.2
Ubuntu Server 18.04.02 LTS

@pearkes pearkes added type/bug Feature does not function as expected needs-investigation The issue described is detailed and complex. labels Jul 26, 2019
@dbknickerbocker
Copy link

Go erroneously (golang/go#24870) disables support for compressed SRV Target fields which necessitates the ability to turn off compression in Consul for integrations with any Go related project - i.e. krackend (luraproject/lura#268)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-investigation The issue described is detailed and complex. type/bug Feature does not function as expected
Projects
None yet
Development

No branches or pull requests

3 participants