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 <curl-library_at_lists.haxx.se>
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.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-07-09