[
https://issues.apache.org/jira/browse/DISPATCH-2050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17323845#comment-17323845
]
ASF GitHub Bot commented on DISPATCH-2050:
------------------------------------------
gemmellr commented on pull request #1126:
URL: https://github.com/apache/qpid-dispatch/pull/1126#issuecomment-821205534
Obligatory note about tests to help avoid future breakage...especially given
the repeated issues in this specific area.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> fields for received delivery state are not relayed
> ---------------------------------------------------
>
> Key: DISPATCH-2050
> URL: https://issues.apache.org/jira/browse/DISPATCH-2050
> Project: Qpid Dispatch
> Issue Type: Bug
> Affects Versions: 1.15.0
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Priority: Major
> Fix For: 1.16.0
>
>
> If a disposition is sent with the RECEIVED state and values for
> section_number and section_offset, those field values are lost in the
> disposition as relayed back to the sender.
>
> E.g.
> {noformat}
> [0x55b6a79f6e50]: AMQP:FRAME:0 -> @open(16)
> [container-id="558d2cff-3e5a-46c6-903e-47d21a4f0101", hostname="localhost",
> channel-max=32767]
> [0x55b6a79f6e50]: AMQP:FRAME:0 -> @begin(17) [next-outgoing-id=0,
> incoming-window=2147483647, outgoing-window=2147483647]
> [0x55b6a79f6e50]: AMQP:FRAME:0 -> @attach(18)
> [name="558d2cff-3e5a-46c6-903e-47d21a4f0101-test", handle=0, role=true,
> snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="test",
> durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0,
> timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
> [0x55b6a79f6e50]: AMQP:FRAME:0 -> @attach(18)
> [name="558d2cff-3e5a-46c6-903e-47d21a4f0101-test", handle=1, role=false,
> snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0,
> timeout=0, dynamic=false], target=@target(41) [address="test", durable=0,
> timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
> [0x55b6a79f6e50]: AMQP:FRAME:0 -> @flow(19) [incoming-window=2147483647,
> next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0,
> link-credit=10, drain=false]
> [0x55b6a79f6e50]: AMQP:FRAME: <- AMQP
> [0x55b6a79f6e50]: AMQP:FRAME:0 <- @open(16)
> [container-id="Standalone_V+zMPIsTle+Urdn", max-frame-size=16384,
> channel-max=32767, idle-time-out=8000,
> offered-capabilities=@PN_SYMBOL[:"ANONYMOUS-RELAY", :"qd.streaming-links"],
> desired-capabilities=@PN_SYMBOL[:"ANONYMOUS-RELAY", :"qd.streaming-links"],
> properties={:product="qpid-dispatch-router", :version="1.16.0-SNAPSHOT",
> :"qd.conn-id"=5}]
> [0x55b6a79f6e50]: AMQP:FRAME:0 <- @begin(17) [remote-channel=0,
> next-outgoing-id=0, incoming-window=2147483647, outgoing-window=2147483647]
> [0x55b6a79f6e50]: AMQP:FRAME:0 <- @attach(18)
> [name="558d2cff-3e5a-46c6-903e-47d21a4f0101-test", handle=0, role=false,
> snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="test",
> durable=0, expiry-policy=:"session-end", timeout=0, dynamic=false],
> target=@target(41) [durable=0, expiry-policy=:"session-end", timeout=0,
> dynamic=false], initial-delivery-count=0, max-message-size=0]
> [0x55b6a79f6e50]: AMQP:FRAME:0 <- @attach(18)
> [name="558d2cff-3e5a-46c6-903e-47d21a4f0101-test", handle=1, role=true,
> snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0,
> expiry-policy=:"session-end", timeout=0, dynamic=false], target=@target(41)
> [address="test", durable=0, expiry-policy=:"session-end", timeout=0,
> dynamic=false], initial-delivery-count=0, max-message-size=0]
> [0x55b6a79f6e50]: AMQP:FRAME:0 <- @flow(19) [next-incoming-id=0,
> incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647,
> handle=1, delivery-count=0, link-credit=250, drain=false]
> [0x55b6a79f6e50]: AMQP:FRAME:0 -> @transfer(20) [handle=1, delivery-id=0,
> delivery-tag=b"1", message-format=0] (25) "\x00SpE\x00SsE\x00Sw\xa1\x0cHello
> World!"
> [0x55b6a79f6e50]: AMQP:FRAME:0 <- @transfer(20) [handle=0, delivery-id=0,
> delivery-tag=b"\x04\x00\x00\x00\x00\x00\x00\x00", message-format=0] (25)
> "\x00SpE\x00SsE\x00Sw\xa1\x0cHello World!"
> Got delivery: Hello World!
> [0x55b6a79f6e50]: AMQP:FRAME:0 -> @disposition(21) [role=true, first=0,
> state=@received(35) [section-number=10, section-offset=5]]
> [0x55b6a79f6e50]: AMQP:FRAME:0 <- @disposition(21) [role=true, first=0,
> state=@received(35) [section-number=0, section-offset=0]]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]