On Sun, Sep 27, 2015 at 11:35:40PM +0200, Daniel Stenberg wrote: > On Sat, 26 Sep 2015, Tatsuhiro Tsujikawa wrote: > > >If I just commented out Curl_expire(), I got 120MiB/s. > > I've now made the Curl_expire() conditional so that it won't get called > unless it needs to tell another handle than the current one - which we need > to do because it has to act on incoming data without its socket getting any > traffic - and I now set TCP_NODELAY unconditionally for HTTP/2 sockets. > > Both commits were just pushed to git. > > I'm now seeing about 428MB/sec speeds on my localhost for a single-stream > transfer getting an 8GB file over HTTPS+nghttpd. > > Downloading HTTP 1.1 from a localhost Apache gets me about 550MB/sec. >
I confirm the bug is fixed. Thank you both for taking the time to investigate this and fix it. > -- > > / daniel.haxx.se > ------------------------------------------------------------------- > List admin: http://cool.haxx.se/list/listinfo/curl-library > Etiquette: http://curl.haxx.se/mail/etiquette.html ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
