Commit 04af4f9d authored by Alexey Surkov's avatar Alexey Surkov Committed by TensorFlower Gardener
Browse files

Always set CURLOPT_READDATA when CURLOPT_READFUNCTION is set.

The code relied on the assumption that libcurl wouldn't call the read callback
if the header specified Content-Length: 0, which is not true on MacOS and
overall is a wrong assumption to make.

PiperOrigin-RevId: 160687029
parent e766804b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment