[ https://issues.apache.org/jira/browse/PROTON-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611019#comment-14611019 ]
ASF subversion and git services commented on PROTON-929: -------------------------------------------------------- Commit f99337f1abf95fb1a2002d93b111a25b8f8f98d1 in qpid-proton's branch refs/heads/master from [~astitcher] [ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=f99337f ] PROTON-929: Fix for ANONYMOUS cut through - Previously client wasn't reading anything after the SASL interchange > [SASL] If both client and server specify ANONYMOUS mech connection setup does > not complete > ------------------------------------------------------------------------------------------ > > Key: PROTON-929 > URL: https://issues.apache.org/jira/browse/PROTON-929 > Project: Qpid Proton > Issue Type: Bug > Components: proton-c > Affects Versions: 0.10 > Reporter: Ken Giusti > Assignee: Andrew Stitcher > Fix For: 0.10 > > > If both sides of the connection specify just the ANONYMOUS mech, then the > connection open does not complete. > The frame trace for the connection attempt: > ./test-runner unit_tests.connection.APITest.test_sasl_callbacks > unit_tests.connection.APITest.test_sasl_callbacks > ...........................................................................................[0x228c1e0]: > -> SASL > [0x228c1e0]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, > initial-response=b"anonymous@t530.localdomain"] > [0x228c1e0]: -> AMQP > [0x228c1e0]:0 -> @open(16) [container-id="test-container-2", > channel-max=32767] > [0x2475800]: <- SASL > [0x2475800]:0 <- @sasl-init(65) [mechanism=:ANONYMOUS, > initial-response=b"anonymous@t530.localdomain"] > [0x2475800]:Authenticated user: anonymous with mechanism ANONYMOUS > [0x2475800]: <- AMQP > [0x2475800]:0 <- @open(16) [container-id="test-container-2", > channel-max=32767] > [0x2475800]: -> SASL > [0x2475800]:0 -> @sasl-mechanisms(64) > [sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]] > [0x2475800]:0 -> @sasl-outcome(68) [code=0] > [0x2475800]: -> AMQP > [0x2475800]:0 -> @open(16) [container-id="test-container-1", > channel-max=32767] > [0x228c1e0]: <- SASL > [0x228c1e0]:0 <- @sasl-mechanisms(64) > [sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]] > [0x228c1e0]:0 <- @sasl-outcome(68) [code=0] > > <hangs waiting for connection to open> > The server's open frame is never processed by the client, though it has been > received 'on the wire'. -- This message was sent by Atlassian JIRA (v6.3.4#6332)