We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c3871e commit 117a294Copy full SHA for 117a294
projects/RabbitMQ.Client/client/api/ConnectionFactoryBase.cs
@@ -53,6 +53,8 @@ public class ConnectionFactoryBase
53
public static ITcpClient DefaultSocketFactory(AddressFamily addressFamily)
54
{
55
var socket = new Socket(addressFamily, SocketType.Stream, ProtocolType.Tcp);
56
+ socket.ReceiveBufferSize = 32 * 1024;
57
+ socket.SendBufferSize = 32 * 1024;
58
SocketConnection.SetRecommendedClientOptions(socket);
59
return new TcpClientAdapter(socket);
60
}
0 commit comments