]> git.ipfire.org Git - thirdparty/curl.git/commit
examples: beef up websocket.c
authorStefan Eissing <stefan@eissing.org>
Tue, 8 Jul 2025 10:05:09 +0000 (12:05 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Jul 2025 11:06:27 +0000 (13:06 +0200)
commitfa0ed1fe4f7de6519dfc5519728e3710bfe077fc
tree46c2fadfce01bceb3c20a6909298fc215067bcbf
parent6654e770cef13a0ae98ac0d74ad8cdeba10c7d48
examples: beef up websocket.c

Make `docs/examples/websocket.c more complete by showing how to handle
CURLE_AGAIN return codes and incomplete sends.

Reported-by: Markus Unterwaditzer
Fixes #13288
Closes #17860
docs/examples/websocket.c