Hello Daniel,
a few more things I noticed:

        - If I have a small receive buffer (8192 Bytes), curl seems to
          run out of memory after a few MB. If I increase my buffer to 65k,
          than I even get an rdp session but the session is get stuck and at
          some time it collapses. No idea why, still investigating.

        - When I use 'wsconnect' to connect to ssh something strange
          happens:

(mini) [~/curlwebsocketplayground] strace -o dbg ./wsconnect 2> log
SSH-2.0-OpenSSH_9.0p1 Debian-1+b2
test
continuation after FIN

So the 'continuation after FIN' appears to be a websocket control message which
is passed plaintext via curl_ws_recv. More debug output:

https://tg.st/u/c76751e27e34cb8e659c71df369f03645a5a48d975dd74900257822532e3e1ee.txt

I also updated https://tg.st/u/curlwebsocketplayground.tar.gz

Cheers,
        Thomas
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to