[ https://issues.apache.org/jira/browse/PROTON-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737269#comment-14737269 ]
Andrew Stitcher commented on PROTON-988: ---------------------------------------- Oh, D'oh I just realised what you mean here - the ..._ALLOW_INSECURE_MECHS flags is set by default, but setting ..._CHECK_ROUTES flags using the API will override it. (A little more explicit bug report wouldn't have hurt) This is indeed a bad issue, and given the API intent it's not clear how to fix it. > pn_messenger_set_flags does not support new SASL flag correctly > --------------------------------------------------------------- > > Key: PROTON-988 > URL: https://issues.apache.org/jira/browse/PROTON-988 > Project: Qpid Proton > Issue Type: Bug > Components: proton-c > Affects Versions: 0.10 > Environment: All OS > Reporter: Clemens Vasters > Fix For: 0.10 > > > The new flag PN_FLAGS_ALLOW_INSECURE_MECHS cannot be set though > pn_messenger_set_flags. > Setting the other defined flag, PN_FLAGS_CHECK_ROUTES, causes the preset > PN_FLAGS_ALLOW_INSECURE_MECHS to be irrecoverably overridden. -- This message was sent by Atlassian JIRA (v6.3.4#6332)