Skip to content

Conversation

@nascheme
Copy link
Member

Also define SO_PEERSEC and SO_PASSSEC if they exist.

Also define SO_PEERSEC and SO_PASSSEC if they exist.
Copy link
Member

@tiran tiran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SO_PEERSEC and SO_PASSSEC are already defined.

I'm -1 on fromfd2. We shouldn't introduce yet another function and bloat the API even further. Instead let's fix the underlying bug and make socket.socket(fileno=fd) detect the socket values, see https://bugs.python.org/issue28134

@nascheme nascheme closed this Apr 28, 2017
@nascheme nascheme deleted the fix-issue-27377 branch April 28, 2017 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants