mirror of
https://github.com/curl/curl.git
synced 2026-07-21 22:37:15 +03:00
Websocket frames need to be written individualy, so that applications can access the frame meta data correctly. This worked until the write function triggered a pause. Remaining frames accumulated in the "out" writer's buffer and on unpaused were written in one chunk. ws decode writer will now stop writing frames when the client writer is paused. To handle the writing of buffered raw data after an unpause, client writers have gotten a new "flush" method. Add pytest test_20_12 with a new client to check handling of pauses and websocket frames. Reported-by: Hendrik Hübner Fixes #22273 Closes #22283 |
||
|---|---|---|
| .. | ||
| mod_curltest | ||
| __init__.py | ||
| caddy.py | ||
| certs.py | ||
| client.py | ||
| curl.py | ||
| dante.py | ||
| dnsd.py | ||
| env.py | ||
| h2o.py | ||
| httpd.py | ||
| nghttpx.py | ||
| ports.py | ||
| sshd.py | ||
| vsftpd.py | ||
| ws_4frames_server.py | ||
| ws_echo_server.py | ||