[ https://issues.apache.org/jira/browse/PROTON-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737502#comment-14737502 ]
Andrew Stitcher commented on PROTON-988: ---------------------------------------- I think, on balance, (at the cost of making more noise out of this tiny little corner of the API) we should just redefine the _set_flags() API to only set the specified flags and to add a _reset_flags() API to clear the flags. The one exception might be to carry on allowing _set_flags(0) to clear all flags. > 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)