From aa2946513b85161f732963d1b7e30d0fe7d00d79 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Thu, 13 Apr 2023 15:14:30 +0200 Subject: OpenBSD: rewrite net_connections() from scratch (#2230) --- HISTORY.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'HISTORY.rst') diff --git a/HISTORY.rst b/HISTORY.rst index 8d22111a..dcb6a0d2 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -9,9 +9,16 @@ `KeyError` bit deriving from a missed cache hit. - 2217_: print the full traceback when a `DeprecationWarning` or `UserWarning` is raised. +- 2230_, [OpenBSD]: `psutil.net_connections`_ implementation was rewritten from + scratch: + - We're now able to retrieve the path of AF_UNIX sockets (before it was an + empty string) + - The function is faster since it no longer iterates over all processes. + - No longer produces duplicate connection entries. **Bug fixes** +- 1043_, [OpenBSD] `psutil.net_connections`_ returns duplicate entries. - 1915_, [Linux]: on certain kernels, ``"MemAvailable"`` field from ``/proc/meminfo`` returns ``0`` (possibly a kernel bug), in which case we calculate an approximation for ``available`` memory which matches "free" -- cgit v1.2.1