Re: Retrieve all addresses mapped to specific host, not just one IP

2018-08-14 Thread Richard Gray via curl-library
myLC--- via curl-library wrote: On Mon, 13 Aug 2018, Richard Gray wrote: > I'm confused about what it is you are trying to do with > the list of addresses? ... If you have a list of IPs/hostnames, this is necessary to identify duplicate entries (public VPNs or proxies, for instance). OK,

Re: a URL API ?

2018-08-14 Thread Dan Fandrich via curl-library
On Tue, Aug 14, 2018 at 11:17:08AM +0200, Daniel Stenberg wrote: > Aha... well even if this is so, the effects of this will at least be > mitigated by the fact that libcurl will still canonicalize them even if it > wouldn't be perfect. > > I mean a user who wants to compare two URLs should make

Re: Windows users! Help us test upload performance tuning?

2018-08-14 Thread Daniel Stenberg via curl-library
On Tue, 14 Aug 2018, Jan Ehrhardt via curl-library wrote: Thanks for the stats. It indicates that my choice for 320 KB in the iOS app (using sftp) is quite good. I would like us to... 1. Change to alloc-on-demand for this buffer. It is used for a few non-upload things, but it only needs to

Re: Retrieve all addresses mapped to specific host, not just one IP

2018-08-14 Thread Gisle Vanem via curl-library
myLC--- wrote: Prioritization (which IPs libcurl should favor) might become an issue then. "should favour" how? Based on what; that IPv6 is better/speedier than IPv4, or some addresses based on Geo-location is best? libcurl knows zero about this. It would be cool if it did though. In fact

Re: Windows users! Help us test upload performance tuning?

2018-08-14 Thread Jan Ehrhardt via curl-library
Daniel Stenberg via curl-library (Tue, 14 Aug 2018 12:02:46 +0200 (CEST)): > Size Seconds Improvement > > 16 KB2.522- > 64 KB1.281x 1.97 > 128 KB 1.095x 2.30 > 256 KB 0.938x 2.69 > 512 KB 0.860x 2.93 Thanks for the stats. It indicates that my choice

Re: Windows users! Help us test upload performance tuning?

2018-08-14 Thread Daniel Stenberg via curl-library
On Tue, 14 Aug 2018, Jan Ehrhardt via curl-library wrote: I did not test if there is a difference on *nix. Did you? Here are the results my tests run just now. Using Linux kernel 4.17. Upload 4GB over plain HTTP to Apache 2.4.34 on localhost - so really 0 RTT. I ran "time curl -sT 4GB

Re: Retrieve all addresses mapped to specific host, not just one IP

2018-08-14 Thread myLC--- via curl-library
On Mon, 13 Aug 2018, Richard Gray wrote: > I'm confused about what it is you are trying to do with > the list of addresses? ... If you have a list of IPs/hostnames, this is necessary to identify duplicate entries (public VPNs or proxies, for instance). > It's not clear to me why you are

Re: a URL API ?

2018-08-14 Thread Daniel Stenberg via curl-library
On Mon, 13 Aug 2018, Dan Fandrich via curl-library wrote: I'm not sure I see the difference between these two approaches. Can you show them with some example URLs? For example, + and ! are reserved characters in RFC 3986 but unreserved in RFC 2326 (RTSP), so a generic canonicalization might

Re: Windows users! Help us test upload performance tuning?

2018-08-14 Thread Jan Ehrhardt via curl-library
Daniel Stenberg via curl-library (Tue, 14 Aug 2018 09:39:21 +0200 (CEST)): >I think its time we run some tests in an orderly fashion with different upload >buffer sizes and collect some numbers... I did not test if there is a difference on *nix. Did you? Anyway, I agree with the fact that some

Re: Windows users! Help us test upload performance tuning?

2018-08-14 Thread Daniel Stenberg via curl-library
On Tue, 14 Aug 2018, Jan Ehrhardt wrote: my tests indicated that increasing this value also influenced the FTP upload speeds. From 10 to 5 seconds on XP in Daniel Jelinski's testcurl uploads. And down to less than a second on Win 7 and Win 10. Right. So yes, there's certainly a valid reason