Send labeled-response=all to indicate we do it for all commands

This commit is contained in:
Daniel Oaks 2020-06-15 20:44:48 +10:00
parent c4c4ec027e
commit 5f9a66aaa2
1 changed files with 3 additions and 0 deletions

View File

@ -860,6 +860,9 @@ func LoadConfig(filename string) (config *Config, err error) {
config.Server.supportedCaps = caps.NewCompleteSet()
config.Server.capValues = make(caps.Values)
// indicates that we send labeled responses for ALL commands
config.Server.capValues[caps.LabeledResponse] = "all"
err = config.prepareListeners()
if err != nil {
return nil, fmt.Errorf("failed to prepare listeners: %v", err)