Change #272051
| Category | curl |
| Changed by | Stefan Eissing <stefan@eissing.org> |
| Changed at | Mon 22 Jun 2026 08:54:50 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 8ed285f06deedf02fc407f6eed1892301e43004a |
Comments
websockets: buffer ugprade data at connection level When the HTTP Upgrade to websockets already carries ws frame data, buffer that data at connection level and not in the ws decoder. Adding new cfilter `cf_recvbuf` to buffer a fixed amont of data to be received later. When the data is received, the filter passes further recv call through to its subfilter. Fixes #22107 Reported-by: sideshowbarker on github Closes #22111
Changed files
- lib/Makefile.inc
- lib/cf-recvbuf.c
- lib/cf-recvbuf.h
- lib/cfilters.c
- lib/cfilters.h
- lib/curl_trc.c
- lib/ws.c