GithubHelp home page GithubHelp logo

Comments (4)

ssorj avatar ssorj commented on August 16, 2024

Qpid Proton:

~$ PN_TRACE_FRM=1 qconnect
[0x55dcadbb1860]: SASL:FRAME:  -> SASL
[0x55dcadbb1860]: SASL:FRAME:  <- SASL
[0x55dcadbb1860]: AMQP:FRAME:0 <- @sasl-mechanisms(64) [sasl-server-mechanisms=@<symbol>[:GSS-SPNEGO, :GSSAPI, :DIGEST-MD5, :CRAM-MD5, :ANONYMOUS]]
[0x55dcadbb1860]: AMQP:FRAME:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, initial-response=b"[email protected]"]
[0x55dcadbb1860]: AMQP:FRAME:0 <- @sasl-outcome(68) [code=0x0]
[0x55dcadbb1860]: AMQP:FRAME:  -> AMQP
[0x55dcadbb1860]: AMQP:FRAME:0 -> @open(16) [container-id="qconnect-f7732f72", hostname="localhost", channel-max=0x7fff]
[0x55dcadbb1860]: AMQP:FRAME:  <- AMQP
[0x55dcadbb1860]: AMQP:FRAME:0 <- @open(16) [container-id="broker-9c177377", channel-max=0x7fff]
qconnect-f7732f72: Connected to amqp://localhost:5672
[0x55dcadbb1860]: AMQP:FRAME:0 -> @close(24) []
[0x55dcadbb1860]:   IO:FRAME:  -> EOS
[0x55dcadbb1860]: AMQP:FRAME:0 <- @close(24) []
[0x55dcadbb1860]:   IO:FRAME:  <- EOS

Rhea:

~/code/equipage/rhea$ DEBUG=rhea* ./connect.js //localhost/abc
  rhea:io [connection-1] connected 127.0.0.1:59042 -> 127.0.0.1:5672 +0ms
  rhea:frames [connection-1] -> { protocol_id: 0, major: 1, minor: 0, revision: 0 } +0ms
  rhea:frames [connection-1]:0 -> open#10 {"container_id":"34fa3d85-cf3d-954f-9486-13929d6cd2d3"}  +3ms
  rhea:raw [connection-1] SENT: 58 0000003a02000000005310d00000002a00000001a12433346661336438352d636633642d393534662d393438362d313339323964366364326433 +0ms
  rhea:io [connection-1] read 8 bytes +5ms
  rhea:frames [connection-1] <- { protocol_id: 0, major: 1, minor: 0, revision: 0 } +1ms
  rhea:io [connection-1] read 36 bytes +0ms
  rhea:io [connection-1] got frame of size 36 +0ms
  rhea:raw [connection-1] RECV: 36 0000002402000000005310c01704a10f62726f6b65722d39633137373337374040607fff +1ms
  rhea:frames [connection-1]:0 <- open#10 {"container_id":"broker-9c177377","channel_max":32767}  +1ms
  rhea:events [connection-1] Connection got event: connection_open +0ms
  rhea:events [34fa3d85-cf3d-954f-9486-13929d6cd2d3] Container got event: connection_open +0ms
CONNECT: Connected to '//localhost/abc'
  rhea:frames [connection-1]:0 -> close#18 {}  +1ms
  rhea:raw [connection-1] SENT: 12 0000000c0200000000531845 +2ms
  rhea:io [connection-1] read 12 bytes +2ms
  rhea:io [connection-1] got frame of size 12 +0ms
  rhea:raw [connection-1] RECV: 12 0000000c0200000000531845 +0ms
  rhea:frames [connection-1]:0 <- close#18 {}  +0ms
  rhea:events [connection-1] Connection got event: connection_close +2ms
  rhea:events [34fa3d85-cf3d-954f-9486-13929d6cd2d3] Container got event: connection_close +0ms

from rhea.

grs avatar grs commented on August 16, 2024

If you default it, how do you override that to leave it unspecified (e.g. in order to use the default, whatever that is)?

from rhea.

ssorj avatar ssorj commented on August 16, 2024

https://qpid.apache.org/releases/qpid-proton-0.37.0/proton/cpp/api/classproton_1_1connection__options.html#a0300a2a68ecca3f684e91e637a45e028
https://qpid.apache.org/releases/qpid-proton-0.37.0/proton/c/api/group__connection.html#ga3ab6a8a556270cff74c39da910a89b5c
https://qpid.apache.org/releases/qpid-proton-0.37.0/proton/c/api/group__connection.html#ga3ab6a8a556270cff74c39da910a89b5c
I didn't find any guidance in the API docs on that front. I'm guessing you would have to set it to empty string or null.

from rhea.

ssorj avatar ssorj commented on August 16, 2024

I noticed something else from the Rhea README.md:

"hostname - to present to remote in the open frame (defaults to host)"

https://github.com/amqp/rhea#container

from rhea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.