Change #244019
Category | None |
Changed by | Stefan Eissing <stefan | @eissing.org>
Changed at | Thu 28 Aug 2025 11:00:02 |
Repository | https://api.github.com/repos/curl/curl |
Project | curl/curl |
Branch | master |
Revision | fa3baabbd81ab9f0aa50bc6335a3e315be0e3009 |
Comments
websocket: improve handling of 0-len frames Write out 9-length frames to client's WRITEFUNCTION Read 0-length frames from READFUNCTION *if* the function started a new frame via `curl_ws_start_frame()`. Fixes #18286 Closes #18332 Reported-by: Andriy Druk
Changed files
- docs/libcurl/curl_ws_start_frame.md
- lib/cw-out.c
- lib/http.c
- lib/http_chunks.c
- lib/mime.c
- lib/sendf.c
- lib/sendf.h
- lib/smtp.c
- lib/ws.c
- tests/http/test_20_websockets.py
- tests/libtest/cli_ws_data.c