It seems to be a bug - how can we both return size from a function, as well as curl error codes. There must be an intersection in numeric values. _Originally posted by @antkmsft in https://github.com/Azure/azure-sdk-for-c/pull/3255#discussion_r2436964918_