mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08:00
request: clarify message when request has been sent off
Change the "uploaded and fine" message for requests without a body Reported-by: Karthikdasari0423 on github Fixes #13093 Closes #13095
This commit is contained in:
parent
cd93765144
commit
6aeb729b5c
@ -263,7 +263,9 @@ static CURLcode req_set_upload_done(struct Curl_easy *data)
|
||||
infof(data, "upload completely sent off: %" CURL_FORMAT_CURL_OFF_T
|
||||
" bytes", data->req.writebytecount);
|
||||
else
|
||||
infof(data, "We are completely uploaded and fine");
|
||||
infof(data, Curl_creader_total_length(data)?
|
||||
"We are completely uploaded and fine" :
|
||||
"Request completely sent off");
|
||||
|
||||
return Curl_xfer_send_close(data);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user