[
https://issues.apache.org/jira/browse/PROTON-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778215#comment-16778215
]
ASF subversion and git services commented on PROTON-2010:
---------------------------------------------------------
Commit 4f18c353b5f73cc020d3ba3b66600e7ddc7d5441 in qpid-proton's branch
refs/heads/master from Kim van der Riet
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=4f18c35 ]
PROTON-2010: Fix for Proton Python handling of comments and mech lists in
connection config file. Also, small fix for JSON syntax in connect-config.md.
> [python] JSON connection config: comments and SASL mechs don't work
> -------------------------------------------------------------------
>
> Key: PROTON-2010
> URL: https://issues.apache.org/jira/browse/PROTON-2010
> Project: Qpid Proton
> Issue Type: Bug
> Components: python-binding
> Reporter: Kim van der Riet
> Assignee: Kim van der Riet
> Priority: Major
>
> If the JSON connection config file contains C/C++-style comments, or a list
> of SASL mechanisms, then the client errors.
> The JSON specification does not allow for comments. However, the connection
> config file specifies that c/c++ comments may be embedded within the JSON. A
> comment eliminator needs to be used before the JSON is loaded.
> The call to pn_sasl_allowed_mechs() requires a const char* space-separated
> list of SASL mechs. The python does not correctly handle this case, as it is
> passing the mechs as a Python list of strings. A single string containing a
> mech instead of a list in the JSON should also be handled.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]