From 63629549c7056b9f14bf9122a273547ca5d836e7 Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 19 Mar 2019 21:57:22 +0300 Subject: [PATCH 1/2] Fix stackoverflow when call some IFullModel._Private... methods --- .../src/client/impl/AutorecoveringModel.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/client/RabbitMQ.Client/src/client/impl/AutorecoveringModel.cs b/projects/client/RabbitMQ.Client/src/client/impl/AutorecoveringModel.cs index e37a454eca..50a253a5d9 100644 --- a/projects/client/RabbitMQ.Client/src/client/impl/AutorecoveringModel.cs +++ b/projects/client/RabbitMQ.Client/src/client/impl/AutorecoveringModel.cs @@ -657,7 +657,7 @@ public void _Private_ExchangeBind(string destination, bool nowait, IDictionary arguments) { - _Private_ExchangeBind(destination, source, routingKey, + m_delegate._Private_ExchangeBind(destination, source, routingKey, nowait, arguments); } @@ -670,7 +670,7 @@ public void _Private_ExchangeDeclare(string exchange, bool nowait, IDictionary arguments) { - _Private_ExchangeDeclare(exchange, type, passive, + m_delegate._Private_ExchangeDeclare(exchange, type, passive, durable, autoDelete, @internal, nowait, arguments); } @@ -679,7 +679,7 @@ public void _Private_ExchangeDelete(string exchange, bool ifUnused, bool nowait) { - _Private_ExchangeDelete(exchange, ifUnused, nowait); + m_delegate._Private_ExchangeDelete(exchange, ifUnused, nowait); } public void _Private_ExchangeUnbind(string destination, @@ -698,7 +698,7 @@ public void _Private_QueueBind(string queue, bool nowait, IDictionary arguments) { - _Private_QueueBind(queue, exchange, routingKey, + m_delegate._Private_QueueBind(queue, exchange, routingKey, nowait, arguments); } From cc8c7742b8c2c571b672362c374b6c87963ab471 Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 19 Mar 2019 22:15:47 +0300 Subject: [PATCH 2/2] Replace tabs to whitespaces --- .../RabbitMQ.Client/src/client/impl/AutorecoveringModel.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/client/RabbitMQ.Client/src/client/impl/AutorecoveringModel.cs b/projects/client/RabbitMQ.Client/src/client/impl/AutorecoveringModel.cs index 50a253a5d9..a615582265 100644 --- a/projects/client/RabbitMQ.Client/src/client/impl/AutorecoveringModel.cs +++ b/projects/client/RabbitMQ.Client/src/client/impl/AutorecoveringModel.cs @@ -657,7 +657,7 @@ public void _Private_ExchangeBind(string destination, bool nowait, IDictionary arguments) { - m_delegate._Private_ExchangeBind(destination, source, routingKey, + m_delegate._Private_ExchangeBind(destination, source, routingKey, nowait, arguments); } @@ -670,7 +670,7 @@ public void _Private_ExchangeDeclare(string exchange, bool nowait, IDictionary arguments) { - m_delegate._Private_ExchangeDeclare(exchange, type, passive, + m_delegate._Private_ExchangeDeclare(exchange, type, passive, durable, autoDelete, @internal, nowait, arguments); } @@ -698,7 +698,7 @@ public void _Private_QueueBind(string queue, bool nowait, IDictionary arguments) { - m_delegate._Private_QueueBind(queue, exchange, routingKey, + m_delegate._Private_QueueBind(queue, exchange, routingKey, nowait, arguments); }