This error is not specific to Azure functions.
That's likely what you'd see if the client terminated the request body early. E.g. They disconnected before sending the number of bytes specified in the content-length or before the chunked terminator. Can you log the headers to see if the request was content-length or chunked?
similar issue : https://github.com/dotnet/aspnetcore/issues/26278