Commit 7035c17
Set settle modes in link error frames
Follow-up to #14389
Without these changes, the attach frame doesn't set
any settlement mode. This leads to settlement negotiation
errors hiding the actual error.
For example,
omq amqp -y 0 -t /queues/no-such-queue
omq amqp -x 0 -T /queues/no-such-queue
Returned `amqp: sender settlement mode "unsettled" requested, received "mixed" from server"`,
when the actual error in the next (detach) frame was `amqp:not-found`.
However, the attach frame triggers a client-side error before the
detach frame is processed.
(cherry picked from commit f261afc)1 parent 980a6ce commit 7035c17
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
1148 | | - | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
1149 | 1151 | | |
1150 | 1152 | | |
1151 | 1153 | | |
| |||
1161 | 1163 | | |
1162 | 1164 | | |
1163 | 1165 | | |
1164 | | - | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1165 | 1169 | | |
1166 | 1170 | | |
1167 | 1171 | | |
1168 | 1172 | | |
1169 | 1173 | | |
1170 | 1174 | | |
1171 | 1175 | | |
1172 | | - | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
1173 | 1179 | | |
1174 | 1180 | | |
1175 | 1181 | | |
| |||
0 commit comments