curl/tests/http/testenv
Stefan Eissing b940cb1566
ws: pause/unpause write handling
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
2026-07-12 18:06:21 +02:00
..
mod_curltest mod_curltest: fix compiler warnings 2026-06-29 14:27:56 +02:00
__init__.py pytest: adding support for dnsd test server 2026-04-10 14:29:29 +02:00
caddy.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
certs.py pytest: fix remaining code checker warnings 2026-06-09 12:30:16 +02:00
client.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
curl.py tool: fix memory use in parallel mode 2026-07-12 17:50:02 +02:00
dante.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
dnsd.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
env.py ws: pause/unpause write handling 2026-07-12 18:06:21 +02:00
h2o.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
httpd.py pytest: check 429 handling 2026-04-17 22:17:50 +02:00
nghttpx.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
ports.py pytest: bind to localhost 2025-09-10 00:55:07 +02:00
sshd.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
vsftpd.py FTP: fix TLS session reuse on the data connection 2026-07-02 17:39:04 +02:00
ws_4frames_server.py ws: pause/unpause write handling 2026-07-12 18:06:21 +02:00
ws_echo_server.py tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00