Skip to content

fix: announce assigned web server port - #23

Open
immanuwell wants to merge 1 commit into
cilium:mainfrom
immanuwell:fix-web-ephemeral-port
Open

fix: announce assigned web server port#23
immanuwell wants to merge 1 commit into
cilium:mainfrom
immanuwell:fix-web-ephemeral-port

Conversation

@immanuwell

@immanuwell immanuwell commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

stackwhere web prints port 0 when the OS picked a real one

Repro:

stackwhere web object.o --addr 127.0.0.1:0
Serving stackwhere web UI on http://127.0.0.1:0

This uses the assigned listener port while keeping the configured host.
Existing URLs stay the same

Tests: go test ./..., go test -race ./..., go vet ./..., golangci-lint run ./...

Follow-up to #19

Signed-off-by: immanuwell <pchpr.00@list.ru>
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.

1 participant