blob: 4a163d2494749aa5e891b53f44cd39a5e06576f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
--- salt/ext/tornado/iostream.py.orig 2023-05-16 11:50:28 UTC
+++ salt/ext/tornado/iostream.py
@@ -1116,6 +1116,7 @@ class IOStream(BaseIOStream):
future = self._connect_future = TracebackFuture()
try:
self.socket.connect(address)
+ self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 524288)
except socket.error as e:
# In non-blocking mode we expect connect() to raise an
# exception with EINPROGRESS or EWOULDBLOCK.
|