Alan Conway created PROTON-1946: ----------------------------------- Summary: [cpp] connection config file parser mis-handling TLS defaults Key: PROTON-1946 URL: https://issues.apache.org/jira/browse/PROTON-1946 Project: Qpid Proton Issue Type: Bug Components: cpp-binding Affects Versions: proton-c-0.25.0 Reporter: Alan Conway Assignee: Alan Conway Fix For: proton-c-0.26.0
The C++ connection configuration parser mis-handles default values in several ways: * tls is not enabled unless there is a tls: {} section - it should be enabled (with default config) if scheme: amqps is present even if there is no tls section * in several cases an explicit 'field: null' is treated differently (as an error) from field being absent (use default value). null and absent should be equivalent. * Host defaults to "", it should be "localhost" * Some exceptions from jsoncpp are leaked, they should be wrapped in proton::error -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org