Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket inbound ping frames support #629

Merged
merged 28 commits into from
Dec 8, 2023
Merged

WebSocket inbound ping frames support #629

merged 28 commits into from
Dec 8, 2023

Conversation

akrambek
Copy link
Contributor

@akrambek akrambek commented Dec 8, 2023

Description

Per RFC 6455, section 5.5.2

Upon receipt of a Ping frame, an endpoint MUST send a Pong frame in
response, unless it already received a Close frame. It SHOULD
respond with Pong frame as soon as is practical.

Binding type ws , kind server currently rejects inbound ping frames (opcode 0x09).
Binding type ws , kind client currently rejects inbound ping frames (opcode 0x09).

Expect ws binding to support ping frames according to spec for both server and client.

Fixes #606

Copy link
Contributor

@jfallows jfallows left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to remove runtime/binding-ws/hs_err_pid8124.log

jfallows
jfallows previously approved these changes Dec 8, 2023
@jfallows jfallows merged commit e71c430 into aklivity:develop Dec 8, 2023
5 checks 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.

WebSocket inbound ping frames are rejected
2 participants