Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2021 13:35:04 GMT
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 945d8a2a36ca - main - net/exabgp4: Bring in upstream patch to fixed stuck CLOSED sockets
Message-ID:  <202106021335.152DZ4GM011809@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by zi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=945d8a2a36caf6846ebbb11c347e3fcc8d6b9bd2

commit 945d8a2a36caf6846ebbb11c347e3fcc8d6b9bd2
Author:     Ryan Steinmetz <zi@FreeBSD.org>
AuthorDate: 2021-06-02 13:33:16 +0000
Commit:     Ryan Steinmetz <zi@FreeBSD.org>
CommitDate: 2021-06-02 13:34:38 +0000

    net/exabgp4: Bring in upstream patch to fixed stuck CLOSED sockets
    
    - Bump PORTREVISION
---
 net/exabgp4/Makefile                                          |  1 +
 .../files/patch-lib_exabgp_reactor_network_outgoing.py        | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/net/exabgp4/Makefile b/net/exabgp4/Makefile
index 626044bf9ee4..5c2ebe92ba80 100644
--- a/net/exabgp4/Makefile
+++ b/net/exabgp4/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	exabgp
 PORTVERSION=	4.2.11
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	GH \
 		ZI
diff --git a/net/exabgp4/files/patch-lib_exabgp_reactor_network_outgoing.py b/net/exabgp4/files/patch-lib_exabgp_reactor_network_outgoing.py
new file mode 100644
index 000000000000..5b28bb91408e
--- /dev/null
+++ b/net/exabgp4/files/patch-lib_exabgp_reactor_network_outgoing.py
@@ -0,0 +1,11 @@
+--- lib/exabgp/reactor/network/outgoing.py.orig	2021-06-02 13:31:16 UTC
++++ lib/exabgp/reactor/network/outgoing.py
+@@ -53,6 +53,8 @@ class Outgoing(Connection):
+             connect(self.io, self.peer, self.port, self.afi, self.md5)
+             return None
+         except NetworkError as exc:
++            self.io.close()
++            self.io = None
+             return exc
+ 
+     def establish(self):



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106021335.152DZ4GM011809>