Skip to content

automatic port zero #142

@milahu

Description

@milahu

when i bind to port zero (automatically choose a free port), pproxy should print the actual port

actual output

$ pproxy -l http://127.0.0.1:0/ 
Serving on 127.0.0.1:0 by http

expected output

$ pproxy -l http://127.0.0.1:0/ 
Serving on 127.0.0.1:12345 by http

where 12345 is the actual port number

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions