Re: SMB download from a windows 10 share not working

2019-12-18 Thread Daniel Stenberg via curl-library
On Tue, 17 Dec 2019, Alex Ditu via curl-library wrote: I'm trying to use curl from a Linux machine to download a file from a SMB share made on Windows 10, but it does not work (I've tested the share with smbclient and it works fine). Also from a share made on a windows 7 machine it works, so I

Re: Connection re-use w.r.t HTTP/1.1 and HTTP/2.0

2019-12-18 Thread Kunal Ekawde via curl-library
On Tue, Dec 17, 2019 at 3:50 PM Daniel Stenberg wrote: > > On Tue, 17 Dec 2019, Kunal Ekawde wrote: > > >> Right: CURLMOPT_MAX_CONCURRENT_STREAMS. > > > Yes, this is desired behavior, basically that the connection is fully > > utilized to its multiplexing limit before new one is created towards th

Re: Connection re-use w.r.t HTTP/1.1 and HTTP/2.0

2019-12-18 Thread Daniel Stenberg via curl-library
On Wed, 18 Dec 2019, Kunal Ekawde wrote: Ok, here is the example I've verified above behavior with local HTTP/2 server, this is based on http2-download.c example Thank you, that certainly pin-pointed your observation nicely! The bug is here: https://github.com/curl/curl/blob/14f8b6e69e97e60f

Re: Connection re-use w.r.t HTTP/1.1 and HTTP/2.0

2019-12-18 Thread Kunal Ekawde via curl-library
On Wed, Dec 18, 2019 at 6:36 PM Daniel Stenberg wrote: > > On Wed, 18 Dec 2019, Kunal Ekawde wrote: > > > Ok, here is the example I've verified above behavior with local HTTP/2 > > server, this is based on http2-download.c example > > Thank you, that certainly pin-pointed your observation nicely!

help: curl_multi_info_read always return NULL

2019-12-18 Thread peng xu via curl-library
What I did is to make a http2 post request, the code is below: ``` curl_version_info_data *info = curl_version_info(CURLVERSION_NOW); bool support = (info->features & CURL_VERSION_HTTP2); //create multi handle CURLM *multi_handle = curl_multi_init(); //create sub handle CURL *hnd = curl_easy_init

Re: help: curl_multi_info_read always return NULL

2019-12-18 Thread Daniel Stenberg via curl-library
On Thu, 19 Dec 2019, peng xu via curl-library wrote: CURLMcode code = curl_multi_perform(multi_handle, &still_running); When you read the documentation for this function or checked one of the numerous examples we provide that use it, you must've missed that this function needs to be called m