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

Reply via email to