From nobody Tue May 16 11:55:39 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 4QLF6z6bCFz49xdy; Tue, 16 May 2023 11:55:39 +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 4QLF6z64qVz3Jbg; Tue, 16 May 2023 11:55:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684238139; 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=PMqUcI/qQSXVleXGbg03nQzNfP1U4KfekE0GL+KL2hA=; b=HZ7zkaEx+BmmLnQpk0v9m2NNuTsmYFdEUa5h97VRvco2ke9FgxqrFBEXzF/XRQxESUokQq hastvKFOdzciP0ZGgyaRMdBA4s9K1l3fj1Oh7uWYs18WE73Z5m4AOck9IDBQvcsw6ZuP5+ BWLojAQKd+3dq7GsLmLDss9yxWe+JDpTVAxa0du/UIvoLUWIcwFtEEH1Wa5WlGhydtmX16 HorfFVNCdWLdKw55eI0cwE2xDTbr6CFAaY1zNgLXCfMBNwTRKN2O3JlRL61AngUyI1SugS /TO5Cx7zhN4yYP6joksCHt4TZidNqm6G9/HSU0ibMezGAKZg27VRipeeXFtzzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684238139; 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=PMqUcI/qQSXVleXGbg03nQzNfP1U4KfekE0GL+KL2hA=; b=SuQnm3JzD4bpjA3pvgGVVmhETDWrBzgIcsl5OCevrApOJQJY+54I+ha5cLZwZD0CUdGUi2 qDnYNsJBEqZ62Sr3G/i+ZZU7OkJ80D1Vk4R0Qe06Lkq06pZP8duHG4PjSeMFUih70JR/Kh MN6VXHQ+DlZ3PyLSur0f/9/Xe9LXzzIGwU2POMYsgFdt9rb/wBI1AOZJqTRa8St74B4G/0 Csx0axoJkR9hxN08kfnKLVbTwdyElvCTPnjVR0M7REB1COriTwk/mUSxYu1vpvtIbE66Vi Pjfyeh05saAfNFw6hQCqxFWmlup/kkSFpM54ATxXmft1GCrjOp/xlK4kQAnHww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684238139; a=rsa-sha256; cv=none; b=LcCCT5rCMe8qAvbHU6njfNu1IjboczNQanRmYakwFWZO3o5nr2ghBh5pDldpDw7ZazA5KJ mo6uFMby5EVpFbHCBFDQqda1XiEqr6KUdBbT+tcYqJDgp0yGUnqQJZjZV+eV82I6kwq8r/ WPmE93kYSrTlqV4RWqy0425oZxZDENNr9iF7RssllB/kXZaAJYmhPb7pxh87lIyvCx90Cn k/0gRgAYwwURF3YjwaaPt8B7oKlyH6ebM5wa7qDlaljrDrz5S2vtZdTouTBrlw38zdrF7q x6jG6FIWnIGvRSfAirt6B6rAOQIilnJESiv8Ghz81L9Iv9hIWtoYpBKeI3Is6g== 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 4QLF6z57MGzLWX; Tue, 16 May 2023 11:55:39 +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 34GBtdjZ063857; Tue, 16 May 2023 11:55:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34GBtdJH063856; Tue, 16 May 2023 11:55:39 GMT (envelope-from git) Date: Tue, 16 May 2023 11:55:39 GMT Message-Id: <202305161155.34GBtdJH063856@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kirill Ponomarev Subject: git: 0d7e53d13126 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 0d7e53d13126b21df43ab7dfd726844feaff58ac Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by krion: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d7e53d13126b21df43ab7dfd726844feaff58ac commit 0d7e53d13126b21df43ab7dfd726844feaff58ac Author: Kirill Ponomarev AuthorDate: 2023-05-16 11:53:29 +0000 Commit: Kirill Ponomarev CommitDate: 2023-05-16 11:53:29 +0000 sysutils/py-salt: Increase receive buffer size to prevent a hanging minion PR: 271367 Reported by: Johan Söllvander , kevans --- 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.