mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-01 15:00:54 +00:00
Fix the FD leak fix, and release notes.
This commit is contained in:
parent
bee137c6d9
commit
65549cb0da
@ -5,6 +5,7 @@ ZeroTier Release Notes
|
|||||||
|
|
||||||
* Remove problematic spinlock, which was only used on x86_64 anyway. Just use pthread always.
|
* Remove problematic spinlock, which was only used on x86_64 anyway. Just use pthread always.
|
||||||
* Fix fd leak on MacOS that caused non-responsiveness after some time.
|
* Fix fd leak on MacOS that caused non-responsiveness after some time.
|
||||||
|
* Fix Debian install scripts to set /usr/sbin/nologin as shell on service user.
|
||||||
|
|
||||||
# 2021-11-08 -- Version 1.8.2
|
# 2021-11-08 -- Version 1.8.2
|
||||||
|
|
||||||
|
@ -336,7 +336,6 @@ class Binder {
|
|||||||
|
|
||||||
// if this is a temporary IPv6 address, skip to the next address
|
// if this is a temporary IPv6 address, skip to the next address
|
||||||
if (flags & IN6_IFF_TEMPORARY) {
|
if (flags & IN6_IFF_TEMPORARY) {
|
||||||
close(infoSock);
|
|
||||||
char buf[64];
|
char buf[64];
|
||||||
#ifdef ZT_TRACE
|
#ifdef ZT_TRACE
|
||||||
fprintf(stderr, "skip binding to temporary IPv6 address: %s\n", ip.toIpString(buf));
|
fprintf(stderr, "skip binding to temporary IPv6 address: %s\n", ip.toIpString(buf));
|
||||||
@ -369,7 +368,7 @@ class Binder {
|
|||||||
else {
|
else {
|
||||||
interfacesEnumerated = false;
|
interfacesEnumerated = false;
|
||||||
}
|
}
|
||||||
#if defined(__unix__) && !defined(__LINUX__)
|
#if (defined(__unix__) || defined(__APPLE__)) && !defined(__LINUX__)
|
||||||
close(infoSock);
|
close(infoSock);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user