-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CURLINFO_STARTTRANSFERTIME(_T) returns 0 for POST requests on libcurl versions newer than 7.64.0 #4136
Labels
Comments
bisected to 65eb65f Lines 638 to 643 in 521bbbe
now that writebytecount is part of the request it's no longer 0 here so progress.t_starttransfer is never set |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I did this
Made a POST request and tried to retrieve the value of
CURLINFO_STARTTRANSFERTIME(_T)
.I expected the following
The value returned should be greater than
0
,CURLINFO_PRETRANSFER_TIME
itself is greater than0
, soCURLINFO_STARTTRANSFERTIME
must be too.It is reproducible with the
curl
binary:libcurl 7.65.3
It seems to work with a
GET
:The first version that this problem starts happening is
7.64.1
, old libcurl version seems to work:libcurl 7.64.1
libcurl 7.64.0
curl/libcurl version
operating system
Windows 10 x64
This was initially reported here JCMais/node-libcurl#183, so I suspect it's not platform-specific.
The text was updated successfully, but these errors were encountered: