Skip to content

feat: add host parameter to http::server::listen#15

Merged
ruoka merged 1 commit into
masterfrom
feat/http-listen-host
Jul 15, 2026
Merged

feat: add host parameter to http::server::listen#15
ruoka merged 1 commit into
masterfrom
feat/http-listen-host

Conversation

@ruoka

@ruoka ruoka commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add listen(host, service_or_port) to net::http::server
  • Keep single-argument listen() on 0.0.0.0 for backward compatibility

Needed by YarDB safe bind defaults (yardb --bind).

Test plan

  • net HTTP server tests pass locally

Made with Cursor

Allow callers to choose the bind address instead of always using 0.0.0.0.
The single-argument listen() overload keeps the previous default.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ruoka
ruoka merged commit 4a2a745 into master Jul 15, 2026
4 checks passed
@ruoka
ruoka deleted the feat/http-listen-host branch July 15, 2026 20:14
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