Share via

Does Azure Web App Windows do path MTU discovery

Sjors Hettinga 0 Reputation points
2024-08-19T06:05:18.9833333+00:00

Some communication paths do not support message sizes of 1514 bytes (1500 bytes MSS @ TCP). When the an Azure web app tries to run an HTTP request over such a path, it works until the messages become close to 1500 bytes or larger in payload. The application attempts to retransmit the messages a few times, but eventually gives up. This is visible in the network traces.

There are multiple metrics in the network to deal with this, one is IP fragmenting by the network infrastructure (https://en.wikipedia.org/wiki/IP_fragmentation) (only IPv4) another is path MTU discovery (https://en.wikipedia.org/wiki/Path_MTU_Discovery) using ICMP too big messages.

It looks like ICMP messages never reach a Azure Windows Web app at all, for the same reason you cannot ping a Web App. Is this behaviour the same for both Windows and Linux Web Applications?

Is there a way make the Web application to do something with the ICMP to big messages, control the Web application MTU / MSS settings globally or per connection manually?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.