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: Wed, 21 Jun 2023 10:11:58 +0200 (CEST)

On Wed, 21 Jun 2023, Pontakorn Prasertsuk via curl-library wrote:

> I have a POST body with length 10. The header `Content-length: 10` is
> present in the HEADER frame of my request. Referring to the image, the POST
> body is in the third packet after the HEADER packet (with SETTINGS packet
> from server and ACK packet from the client in between). It should be
> possible to fit the DATA frame into the first packet with the HEADER frame
> but I cannot find a way to do it in libcurl.

Maybe switching off TCP_NODELAY ?

See this issue from a few years ago: https://github.com/curl/curl/issues/6363

-- 
  / 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-06-21