Skip to content

End send at a NIP-77 reply and flush each line - #18

Merged
kwsantiago merged 1 commit into
mainfrom
send-negentropy
Oct 6, 2026
Merged

kwsantiago merged 1 commit into
mainfrom
send-negentropy

Conversation

@kwsantiago

Copy link
Copy Markdown
Contributor

noz send with a NEG-OPEN or NEG-MSG waited for a terminating reply that never came, since the relay client reports NIP-77 replies as an unknown type, and the buffered output was lost when the caller timed it out. It now stops at NEG-MSG or NEG-ERR, and flushes each reply as it is printed. The relay-tier suite covers a NEG-OPEN through send.

@kwsantiago
kwsantiago merged commit 051f984 into main Oct 6, 2026
3 checks passed
@kwsantiago
kwsantiago deleted the send-negentropy branch October 6, 2026 04:22
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