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: Why CURL library is always sending packets with do not fragment bit ON

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 6 Nov 2019 16:42:14 +0100 (CET)

On Wed, 6 Nov 2019, Subrata Dasgupta via curl-library wrote:

> CURL is sending HTTP requests with do not fragment bit ON of IP layer. So
> when packet size is more than MTU then those packets are dropped by the
> routers.

curl doesn't do that by itself.

That's not a decision made by curl, that's decided and done by the TCP stack.
From what I understand, that bit is typically set for MTU discovery.

-- 
  / daniel.haxx.se | Get the best commercial curl support there is - from me
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-11-06