Skip to content

Commit f62f7ed

Browse files
authored
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.
1 parent b89b749 commit f62f7ed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Transport/Tcp/SslTransportFactory.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ protected override ITransport DoCreateTransport(Uri location, Socket socket, IWi
131131
transport.KeyStoreName = this.keyStoreName;
132132
transport.AcceptInvalidBrokerCert = this.acceptInvalidBrokerCert;
133133
transport.sslProtocol = this.sslProtocol; // bypass revalidation
134-
134+
transport.SendBufferSize = this.SendBufferSize;
135+
transport.ReceiveBufferSize = this.ReceiveBufferSize;
135136
return transport;
136137
}
137138
}

0 commit comments

Comments
 (0)