Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Experimental websocket API
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Thomas Glanzmann via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 31 Oct 2022 08:53:08 +0100
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
Date: Mon, 31 Oct 2022 08:53:08 +0100
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.htmlReceived on 2022-10-31