Skip to content

websocket: add option to disable auto-pong reply #16744

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

Closed
wants to merge 8 commits into from

Conversation

viscruocco
Copy link
Contributor

Rebased #12220 with kind permission of @brimonk.

Additionally added some more documentation and explicitly initialized CURLOPT_WS_OPTIONS values to their defaults.

@viscruocco viscruocco requested a review from vszakats March 19, 2025 15:12
@viscruocco
Copy link
Contributor Author

Does anything remain to do, to move this PR forward?

@bagder bagder added the feature-window A merge of this requires an open feature window label Mar 25, 2025
@bagder
Copy link
Member

bagder commented Mar 25, 2025

@viscruocco the PR itself looks fine - now we only need to wait for the feature window to open again to allow new features such as this to get merged (for 8.14.0). The feature window for 8.13.0 closed a few weeks ago. You can prepare for this to make sure the PR speaks of the correct version for this feature.

The feature window is planned to open again on April 12.

@bagder bagder changed the title [rebased] websocket: add option to disable auto-pong reply websocket: add option to disable auto-pong reply Mar 25, 2025
@viscruocco viscruocco marked this pull request as draft April 9, 2025 13:55
@viscruocco viscruocco marked this pull request as ready for review April 14, 2025 15:22
brimonk and others added 8 commits April 16, 2025 10:05
This adds another bitflag on CURLOPT_WS_OPTIONS (CURLWS_NOAUTOPONG) that
disables the default and automatic PONG reply in the WebSocket layer.

Authored-by: brimonk on github
Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com>
@bagder bagder closed this in c0df01f Apr 18, 2025
@bagder
Copy link
Member

bagder commented Apr 18, 2025

Thanks, both of you!

@viscruocco viscruocco deleted the no-auto-pong branch April 22, 2025 13:11
nbaws pushed a commit to nbaws/curl that referenced this pull request Apr 26, 2025
This adds another bitflag on CURLOPT_WS_OPTIONS (CURLWS_NOAUTOPONG) that
disables the default and automatic PONG reply in the WebSocket layer.

Assisted-by: Calvin Ruocco

Closes curl#16744
nbaws pushed a commit to nbaws/curl that referenced this pull request Apr 26, 2025
This adds another bitflag on CURLOPT_WS_OPTIONS (CURLWS_NOAUTOPONG) that
disables the default and automatic PONG reply in the WebSocket layer.

Assisted-by: Calvin Ruocco

Closes curl#16744
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-window A merge of this requires an open feature window libcurl API tests
Development

Successfully merging this pull request may close these issues.

4 participants