AMQNET-837 Add buffersizes support for ssl scheme (#31)
configuring transport.sendBufferSize and transport.receiveBufferSize through client url only works for tcp scheme .
SslTransportFactory inherits from TcpTransportFactory however it doesnt set the sendBufferSize and receiveBufferSize properties.
diff --git a/src/Transport/Tcp/SslTransportFactory.cs b/src/Transport/Tcp/SslTransportFactory.cs
index 91a86c2..156812f 100644
--- a/src/Transport/Tcp/SslTransportFactory.cs
+++ b/src/Transport/Tcp/SslTransportFactory.cs
@@ -131,7 +131,8 @@
transport.KeyStoreName = this.keyStoreName;
transport.AcceptInvalidBrokerCert = this.acceptInvalidBrokerCert;
transport.sslProtocol = this.sslProtocol; // bypass revalidation
-
+ transport.SendBufferSize = this.SendBufferSize;
+ transport.ReceiveBufferSize = this.ReceiveBufferSize;
return transport;
}
}