Skip to content

WebServer.getPort() returns 0 instead of -1 for closed connections #24540

@philwebb

Description

@philwebb

The javadoc for WebServer.getPort() states that it returns "the port (or -1 if none)". The implementations appear to return 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions