diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2023-04-13 15:14:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-13 15:14:30 +0200 |
commit | aa2946513b85161f732963d1b7e30d0fe7d00d79 (patch) | |
tree | a47ff69a5e2e7fe8fc1eb5fe4a979f727a800e2c /HISTORY.rst | |
parent | 0dde184075f81a9b6e22caa7255396d21ae63769 (diff) | |
download | psutil-aa2946513b85161f732963d1b7e30d0fe7d00d79.tar.gz |
OpenBSD: rewrite net_connections() from scratch (#2230)
Diffstat (limited to 'HISTORY.rst')
-rw-r--r-- | HISTORY.rst | 7 |
1 files changed, 7 insertions, 0 deletions
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" |