Skip to content

getsockname missing AF_UNIX functionality #1261

@sahinburak

Description

@sahinburak

getsockname doesn't have check of AF_UNIX and AF_INIT. getsockname raises error on line host, port = socket.getpeername() which will work for AF_INET. I believe there should be check for socket.family and cover AF_UNIX case seperately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions