[ 
https://issues.apache.org/jira/browse/PROTON-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell updated PROTON-1946:
-----------------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: PROTON-1935

> [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: Sub-task
>          Components: cpp-binding
>    Affects Versions: proton-c-0.25.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>            Priority: Major
>             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
>  * Need additional tests to cover all of the above



--
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

Reply via email to