From 84d5b65c64e06d667cec6f5c3668c157eb7b5fdc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 3 Aug 2025 23:02:11 +0200 Subject: [PATCH] TODO: disable TCP_NODELAY at build time Maybe? Closes #17974 --- docs/TODO | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/TODO b/docs/TODO index a350e14210..d5aeefc236 100644 --- a/docs/TODO +++ b/docs/TODO @@ -23,6 +23,7 @@ 1.4 alt-svc sharing 1.5 get rid of PATH_MAX 1.6 thread-safe sharing + 1.7 disable TCP_NODELAY at build time 1.8 CURLOPT_RESOLVE for any port number 1.9 Cache negative name resolves 1.10 auto-detect proxy @@ -255,6 +256,15 @@ share between multiple concurrent threads. Fixing this would enable more users to share data in more powerful ways. +1.7 Disable TCP_NODELAY at build time + + "We are running libcurl in WebAssembly which does not have TCP_NODELAY." If + TCP_NODELAY exists at build-time but (always) fails at runtime, every request + that sets this by default will output "Could not set TCP_NODELAY: Protocol + not available". Consider ways to improve this. + + See https://github.com/curl/curl/issues/17974 + 1.8 CURLOPT_RESOLVE for any port number This option allows applications to set a replacement IP address for a given