gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 27/220: readwrite_data: repair setting the TIMER_ST


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 27/220: readwrite_data: repair setting the TIMER_STARTTRANSFER stamp
Date: Thu, 12 Sep 2019 17:26:27 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit cb542ac4d085e9446a9dfc6632fad9a851b507fe
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Jul 29 12:49:05 2019 +0200

    readwrite_data: repair setting the TIMER_STARTTRANSFER stamp
    
    Regression, broken in commit 65eb65fde64bd5f (curl 7.64.1)
    
    Reported-by: Jonathan Cardoso Machado
    Assisted-by: Jay Satiro
    
    Fixes #4136
    Closes #4162
---
 lib/transfer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/transfer.c b/lib/transfer.c
index b9bb5f6ed..18d805d64 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -601,7 +601,7 @@ static CURLcode readwrite_data(struct Curl_easy *data,
       nread = 0;
     }
 
-    if((k->bytecount == 0) && (k->writebytecount == 0)) {
+    if(!k->bytecount) {
       Curl_pgrsTime(data, TIMER_STARTTRANSFER);
       if(k->exp100 > EXP100_SEND_DATA)
         /* set time stamp to compare with when waiting for the 100 */

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]