Skip to content

router: tighten upstream registration and narinfo rewrite path#27

Open
amaanq wants to merge 1 commit into
mainfrom
tighten-upstream-registration
Open

router: tighten upstream registration and narinfo rewrite path#27
amaanq wants to merge 1 commit into
mainfrom
tighten-upstream-registration

Conversation

@amaanq

@amaanq amaanq commented Jun 9, 2026

Copy link
Copy Markdown
Member

Per-upstream sub-registration methods now clear stale state when the field is at its default, making register_upstream a full-state idempotent setter.

Also deduplicates url().to_string() calls, short-circuits response_narinfo_bytes on Keep mode, and removes the set_upstream_filters wrapper.

Per-upstream sub-registration methods now clear stale state when the field
is at its default, making `register_upstream` a full-state idempotent setter.

Also deduplicates `url().to_string()` calls, short-circuits `response_narinfo_bytes`
on `Keep` mode, and removes the `set_upstream_filters` wrapper.

@NotAShelf NotAShelf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hot

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.

2 participants