You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I Did this with nc -l -p 8080, copy&pasting the response and aborting the response with Ctrl-C.
With curl version 8.6.0 the output is:
<html>
curl: (18) transfer closed with 208 bytes remaining to read
size_request: 77
With curl version 8.7.1 the output is:
<html>
curl: (18) transfer closed with 208 bytes remaining to read
size_request: 0
mkauf
changed the title
CURLINFO_REQUEST_SIZE returns 0 when the response is aborted
Regression: CURLINFO_REQUEST_SIZE returns 0 when the response is aborted
Apr 3, 2024
I did this
curl_easy_getinfo(curlh, CURLINFO_REQUEST_SIZE, &request_size); on a request hat was aborted during the response (incomplete response).
I expected the following
request_size should be greater than 0.
This was the case with Version 8.6.0
curl/libcurl version
8.7.1
operating system
Linux la_luna 6.8.2-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:35 +0000 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: