From nobody Tue May 16 11:56:04 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QLF7S3NxZz49xmH; Tue, 16 May 2023 11:56:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QLF7S2rhMz3JtX; Tue, 16 May 2023 11:56:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684238164; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Dh8K0Ho9cDHUyROtodJ1BaQlz35M86R2z/ytbGTB0BE=; b=FX6ekCu/fRt+iuke1SeDRHs4En2Ns3e5t3W/GyT2O17c6eyKUvmysq6OLCCSoHHk6FMe3X E78lyM5i50jyWHPqfsx7YhA1ZndwYuatiL5W7IBfQjn3UnVhjMjIO93IHD9Sf7zduSViAI oDhCaSLPotEAQ4hfA65Nv6Bfdf8DwORa7P8D0tH1x2mdpcsyCBgRNsfdNf+gmgSqmQ98sz YU8iie0XJyBZb19BV59bGyjwvrB2NpYws0ZnpJubjOTyxc+BDfH22DSzB5b6IDK2cR0D/J 3D6PtqIcd2lZuVTVmh2uogwA1AirFVQAUc3OlTxNzW1pj6aXxu+LzF/IcmispQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684238164; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Dh8K0Ho9cDHUyROtodJ1BaQlz35M86R2z/ytbGTB0BE=; b=MnEMFKdXSZnO0UY6CZwnldJde8QPPcp1aky6eW1Qt0axI6ZCUzypNNpJavLK4eIASpvRo5 Oi1z9iU4xV0oXrL0OUhbpcR9bfF4bndyw5J9iQI37/L2VBwczvc4qPvk9NfNRajBxbr+R4 KrD5tLXZe+XnTpxdritD6WM983UQR+GUWzy2cK1V343rEMonqEQ3m9UIhvqWUvHj8w6KCp XzfXbXGzaFLH96VIc3G5tiERgZbZvM/YDfdhzBHvtdle6KXMxVl+Trac5ed4mX2WauXfvz 78xLCw77RbLIKnloHn3RHLvKEEXMW1+HOwBnKYmqlxvtxVfkOYhdeGcFSvR67w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684238164; a=rsa-sha256; cv=none; b=oXLazhtVKg4dvMck2EnHovxrTHYYFXRsOOH0qRAyQyyb4yC0sj/g/8BlXqMDzg7QHimE96 x74LaAFDpSJnV2IJvwa8JXpaRetVc59Ci1d/2iYPt6d9y3j77T4vNlWlHNVS6eCNt1CTuK WcD7B1MELl7lzmXJ/WJ7+WkPkuGLkfl67RGW/ngHKlhA9+rqCJKtCuabYMQkkCIiDLpy4k i2YTxJnrtA3etDvFRBjjIb7TmrK7FnFC+kwCrZW/v+Z/IA2pcuQ/eljnx76PvJdySxCId6 +h62wnVQ9fUBuU/APL9r8vNG/i1LTlCc7XhFI/aO0kaujk21sh3yhoMJx+teqw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QLF7S1vhqzM7g; Tue, 16 May 2023 11:56:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34GBu4VJ064024; Tue, 16 May 2023 11:56:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34GBu4Wo064023; Tue, 16 May 2023 11:56:04 GMT (envelope-from git) Date: Tue, 16 May 2023 11:56:04 GMT Message-Id: <202305161156.34GBu4Wo064023@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Kirill Ponomarev Subject: git: 22e3c4c9124f - 2023Q2 - sysutils/py-salt: Increase receive buffer size to prevent a hanging minion List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: krion X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q2 X-Git-Reftype: branch X-Git-Commit: 22e3c4c9124f0d2759d2e7b8358efdf128fa887e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q2 has been updated by krion: URL: https://cgit.FreeBSD.org/ports/commit/?id=22e3c4c9124f0d2759d2e7b8358efdf128fa887e commit 22e3c4c9124f0d2759d2e7b8358efdf128fa887e Author: Kirill Ponomarev AuthorDate: 2023-05-16 11:53:29 +0000 Commit: Kirill Ponomarev CommitDate: 2023-05-16 11:56:01 +0000 sysutils/py-salt: Increase receive buffer size to prevent a hanging minion PR: 271367 Reported by: Johan Söllvander , kevans (cherry picked from commit 0d7e53d13126b21df43ab7dfd726844feaff58ac) --- sysutils/py-salt/Makefile | 2 +- sysutils/py-salt/files/patch-salt_ext_tornado_iostream.py | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/sysutils/py-salt/Makefile b/sysutils/py-salt/Makefile index b32abac6a4de..25bd78b9f2e3 100644 --- a/sysutils/py-salt/Makefile +++ b/sysutils/py-salt/Makefile @@ -1,6 +1,6 @@ PORTNAME= salt PORTVERSION= 3005.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/sysutils/py-salt/files/patch-salt_ext_tornado_iostream.py b/sysutils/py-salt/files/patch-salt_ext_tornado_iostream.py new file mode 100644 index 000000000000..4a163d249474 --- /dev/null +++ b/sysutils/py-salt/files/patch-salt_ext_tornado_iostream.py @@ -0,0 +1,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.