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: HTTP/2 deferring DATA frame to another TCP packet

From: Daniel Stenberg via curl-library <>
Date: Sun, 9 Jul 2023 11:21:18 +0200 (CEST)

On Thu, 22 Jun 2023, Pontakorn Prasertsuk wrote:

> My apology. There is a problem with my build that caused disabling
> TCP_NODELAY to not work. Now that I build it again, all the packets are
> collapsed into 1 TCP packet. However, they are on different TLS records. Is
> there a way to combine them into a single TLS record as well? This issue may
> have to do with how nghttp2 data source callback defers DATA frame on its
> first call as I mentioned in the original email.

curl is a transfer library and it does not always do the most optmized
approach for every imaginable use case. This is still correct behavior and the
data gets transmitted.

If you can improve how libcurl sends HTTP/2 data frames, feel free to do so.
We will appreciate it.

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