Skip to content

Commit b3d65de

Browse files
author
Stefán J. Sigurðarson
committed
Reverting default Socket buffers, seems more stable that way.
1 parent 117a294 commit b3d65de

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

projects/RabbitMQ.Client/client/api/ConnectionFactoryBase.cs

-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ public class ConnectionFactoryBase
5353
public static ITcpClient DefaultSocketFactory(AddressFamily addressFamily)
5454
{
5555
var socket = new Socket(addressFamily, SocketType.Stream, ProtocolType.Tcp);
56-
socket.ReceiveBufferSize = 32 * 1024;
57-
socket.SendBufferSize = 32 * 1024;
5856
SocketConnection.SetRecommendedClientOptions(socket);
5957
return new TcpClientAdapter(socket);
6058
}

0 commit comments

Comments
 (0)