diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-07-28 16:10:32 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-08-18 18:58:41 +0200 |
commit | 7e4a8a54221adf00cd3eb45a24b633ce61400570 (patch) | |
tree | f773c813e308030ce73f9f1821b222b1c4466a8f /test/conftest.py | |
parent | e2aec6686a4d2cf1ddc017b50dbb39baefd2d425 (diff) | |
download | unit-7e4a8a54221adf00cd3eb45a24b633ce61400570.tar.gz unit-7e4a8a54221adf00cd3eb45a24b633ce61400570.tar.bz2 |
Disallowed abstract unix socket syntax in non-Linux systems.
The previous commit added/fixed support for abstract Unix domain sockets
on Linux with a leading '@' or '\0'. To be consistent in all platforms,
treat those prefixes as markers for abstract sockets in all platforms,
and fail if abstract sockets are not supported by the platform.
That will avoid mistakes when copying a config file from a Linux system
and using it in non-Linux, which would surprisingly create a normal socket.
Diffstat (limited to 'test/conftest.py')
0 files changed, 0 insertions, 0 deletions