curl / Mailing Lists / curl-library / Single Mail
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: curl-library Digest, Vol 24, Issue 4

From: Daniel Stenberg via curl-library <>
Date: Sat, 15 Jul 2023 14:20:36 +0200 (CEST)

On Sat, 15 Jul 2023, Paul Fotheringham via curl-library wrote:

>> bytesleft == 0 means no more data in this frame.
>> bytesleft == 0 and CURLWS_CONT bit is not set means the end of the message.
> Unfortunately that does not seem to be the case for me. I fragment my
> message into eight frames and the first frame does not have the CURLWS_CONT
> bit set, the following seven frames do.

It might be a bug then? I read this as you saying that libcurl delivers these
eight frames as 8 whole fragments so that bytesleft is zero in all of them?


> This is what I would expect if CURLWS_CONT has the same meaning as the
> continuation frame opcode.

That's the intention.

Can you provide an example snippet that reproduces this?

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2023-07-15