diff options
| author | bndw <ben@bdw.to> | 2026-02-14 14:46:48 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-02-14 14:46:48 -0800 |
| commit | 9ee32a917b13ffb3f52ddbc3a0c72dd8ec71953c (patch) | |
| tree | 142c4452716d933324f6e0abff079529251ed693 /internal/ratelimit/README.md | |
| parent | 212154fc29e3631d13cf7af9a0a3046c9683173b (diff) | |
fix: silently wait for auth instead of sending NOTICE
After sending AUTH challenge, return nil instead of error to avoid
sending NOTICE messages to clients. Add explicit checks in handleEvent
and handleReq to silently ignore requests when auth is required but
client hasn't authenticated yet. This follows NIP-42 spec more closely.
Diffstat (limited to 'internal/ratelimit/README.md')
0 files changed, 0 insertions, 0 deletions
