curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Curl upgrade from 7.65.1 to 7.70.0 causing performance degradation

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 25 Sep 2020 09:49:58 +0200 (CEST)

On Thu, 24 Sep 2020, Kunal Chandarana wrote:

> Shouldn't the reading from the socket be forced only if the buffer is empty?
> I made the following change (screenshot given below) in the 7.70.0 version
> of the code and it eliminates the performance degradation issue. What do you
> think about this code change?

I think it makes total sense, thanks!

I converted it into a "real" PR and submitted it here:

   https://github.com/curl/curl/pull/6013

-- 
  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-09-25