summaryrefslogtreecommitdiffstats
path: root/internal/config/README.md
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-15 10:06:26 -0800
committerbndw <ben@bdw.to>2026-02-15 10:06:26 -0800
commitae95a3fd20b5dc8c25ee947f5cc8e120a185b8bc (patch)
treed8df895e4480a3416b0e6a2a46f723afc8bd00e9 /internal/config/README.md
parentd744c32f1bc7411e04c97a9d14c172baaa0e4a89 (diff)
fix: improve WebSocket error responses and protocol compliance
- Send OK false for rate limit errors instead of NOTICE - Send OK false for auth errors (e.g. pubkey not in allowlist) - Remove OK response for AUTH events (AUTH is not an EVENT type) - Parse event before auth checks to get event ID for error responses These changes improve client UX by providing immediate, structured feedback for all rejection cases instead of generic NOTICE messages. The AUTH event OK removal fixes a bug where clients would read the wrong response when sending EVENT after AUTH.
Diffstat (limited to 'internal/config/README.md')
0 files changed, 0 insertions, 0 deletions