Skip to content

router: tighten upstream registration and narinfo rewrite path#27

Merged
NotAShelf merged 1 commit into
mainfrom
tighten-upstream-registration
Jun 12, 2026
Merged

router: tighten upstream registration and narinfo rewrite path#27
NotAShelf merged 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

@NotAShelf NotAShelf merged commit eb67df3 into main Jun 12, 2026
9 checks passed
@NotAShelf NotAShelf deleted the tighten-upstream-registration branch June 12, 2026 05:33
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