Skip to content

Some classes which inherit socketserver.TCPServer should override allow_reuse_port #120485

Closed
@idankap

Description

@idankap

Bug report

Bug description:

In #30072 there was a change to socketserver.TCPServer which added a new variable allow_reuse_port to support the usage of SO_REUSEPORT along with SO_REUSEADDR. The problem is that the classes which inherit from socketserver.TCPServer and override allow_reuse_address weren't updated to include the override of the new variable allow_reuse_port.

CPython versions tested on:

3.11

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions