Skip to content

fix(q): reject empty request frames - #21

Merged
protocolstardust merged 7 commits into
RayforceDB:masterfrom
belowzeroff:fix/q-reject-empty-request-frames
Oct 12, 2026
Merged

protocolstardust merged 7 commits into
RayforceDB:masterfrom
belowzeroff:fix/q-reject-empty-request-frames

Conversation

@belowzeroff

Copy link
Copy Markdown
Contributor

Summary

  • close inbound Q connections that send header-only SYNC or ASYNC request frames
  • keep header-only RESPONSE frames routed to the parked q_conn_send waiter as an empty response error
  • add malformed-frame coverage for empty sync requests in the server test harness

User-facing behavior

Malformed peers that send a request header without a Q object body now get disconnected instead of receiving a successful identity response.

Testing

  • git diff --check
  • make recheck

Notes

This branch is stacked on top of the current open fix branches, because the upstream repository cannot target fork-only base branches. Until those PRs land, this PR shows the earlier stacked commits too.

@protocolstardust
protocolstardust merged commit 4f1bb1b into RayforceDB:master Oct 12, 2026
1 check passed
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