Skip to content

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

Closed
brimonk wants to merge 1 commit into
curl:masterfrom
brimonk:no-auto-pong
Closed

brimonk wants to merge 1 commit into
curl:masterfrom
brimonk:no-auto-pong

Conversation

@brimonk

@brimonk brimonk commented Oct 28, 2023 •

Copy link
Copy Markdown
Contributor

This adds another bitflag on CURLOPT_WS_OPTIONS (CURLWS_NOAUTOPONG (2))
that disables the default and automatic PONG reply in the WebSocket
layer.

Ideally, this will complete the "Provide option to disable PING-PONG automation"
item on the "Future Work" section of this.

Authored-by: brimonk on github

@bagder bagder added feature-window A merge of this requires an open feature window WebSocket labels Jun 30, 2024
@bagder

bagder commented Jun 30, 2024

Copy link
Copy Markdown
Member

@brimonk I apologize for me having neglected this PR and your work on this. Can you please rebase it and force-push and we should be able to get some review of it and work on getting it merged in the next release cycle?

@bagder bagder self-assigned this Jun 30, 2024
@brimonk
brimonk force-pushed the no-auto-pong branch 5 times, most recently from bf50946 to 052f943 Compare July 24, 2024 02:55

@bagder bagder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks fine. Just needs some minor edits.

Comment thread docs/libcurl/symbols-in-versions Resolved
Comment thread docs/libcurl/opts/CURLOPT_WS_OPTIONS.md Resolved
Comment thread tests/data/Makefile.inc Resolved
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
@brimonk

brimonk commented Aug 21, 2024

Copy link
Copy Markdown
Contributor Author

@bagder this should be reasonably updated at this point. I wasn't able to get this in before 08/17, so if this needs to be updated again, so be it.

@bagder

bagder commented Dec 23, 2024

Copy link
Copy Markdown
Member

@brimonk are you able to do another sync so that we can have another try at landing this?

@bagder

bagder commented Feb 22, 2025

Copy link
Copy Markdown
Member

@brimonk the window is open now again, could be a good time to try to merge this?

@viscruocco

Copy link
Copy Markdown
Contributor

If you are interested, I would offer to rebase your changes and get them ready for merging, @brimonk.

@brimonk

brimonk commented Mar 15, 2025

Copy link
Copy Markdown
Contributor Author

@viscruocco I give you permission to do this.

@viscruocco

Copy link
Copy Markdown
Contributor

@brimonk Thank you!

Rebased and submitted as new PR #16744.

@bagder

bagder commented Mar 25, 2025

Copy link
Copy Markdown
Member

Replaced by #16744

@bagder bagder closed this Mar 25, 2025
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 needs-info tests WebSocket

Development

Successfully merging this pull request may close these issues.

3 participants