Closed ansd closed 10 months ago
Many thanks @xinchen10 for fixing this bug on master
branch.
Would it be possible to release a new version of this library?
Alternatively, how do I specify to use master
branch in the PackageReference
Version
in https://github.com/rabbitmq/rabbitmq-server/blob/48793d52888cd6900f1d604eebb6e390447880fe/deps/rabbitmq_amqp1_0/test/system_SUITE_data/fsharp-tests/fsharp-tests.fsproj#L11 ?
Reading https://learn.microsoft.com/en-us/nuget/concepts/package-versioning this does not seem to be possible?
We will release a new package soon. I don't think PackageReference can be used to reference source code from github repo branch. One way I can think of is the git submodule, which means you directly pull the code into your source tree and use project reference instead.
AMQP 1.0 section 2.7.4 states for FLOW field
next-incoming-id
:However, this client always sets field
next-incoming-id
irrespective whether it has received the server's BEGIN frame.Reproduction steps:
In root folder of https://github.com/ansd/rabbitmq-server/tree/native-amqp-dotnet-bug, run
The test case fails with error
Here is an easier example: Start latest RabbitMQ server https://github.com/rabbitmq/rabbitmq-server/tree/v3.12.8 (probably any other server will do it as well):
Create a C# project:
Modify the
.csproj
file to containand the
Program.cs
file to containStart the client:
As seen in the trace output, the client sends
flow(next-in-id:0
before it receives thebegin
. Instead of setting next-in-id to0
, the correct behaviour is to not set that field.