search for: 03a2cc3d766e

Displaying 1 result from an estimated 1 matches for "03a2cc3d766e".

2019 Sep 18
1
[PATCH nbdkit] server: Remove useless thread local sockaddr.
.... Since we were only allocating a ‘struct sockaddr’ (rather than a ‘struct sockaddr_storage’) it's likely that some peer addresses would have been truncated. Remove all this code, it had no effect. Plugins that want to get the peer address can use nbdkit_peer_name() which was added in commit 03a2cc3d766e and doesn't suffer from the above truncation problem. (I considered an alternative where we use the saved address to answer nbdkit_peer_name but since that call will in general be used very rarely it doesn't make sense to do the extra work for all callers.) --- server/internal.h | 4 -...