Hi All,
Connection re-use has been discussed earlier in some context but I
wanted to know more with respect to recent modifications.
I've use case of both HTTP/1.1 and HTTP/2 transfers and the settings
are same to both as it applies to same multi handle.
curl_multi_setopt(multi_handle_m, CURLMOPT
On Mon, 16 Dec 2019, Kunal Ekawde via curl-library wrote:
Connection re-use has been discussed earlier in some context but I wanted to
know more with respect to recent modifications.
I don't think there have been any recent modifications that changed connection
reuse.
curl_multi_setopt(mul
Hello,
gRPC got a URL system. For instance if you have the method myMethod in the
foo.bar package the URL would be:
https://endpoint/foo.bar/myMethod
From a protocol perspective, all gRPC calls are HTTP2 POST on a specific URL
such as the one previously shown
https://github.com/grpc/grpc/blob
On Mon, 16 Dec 2019, Rémy Léone wrote:
gRPC got a URL system. For instance if you have the method myMethod in the
foo.bar package the URL would be:
https://endpoint/foo.bar/myMethod
That's an HTTPS URL, not a gRPC URL. To me, that's a sign gRPC should be done
*using* libcurl, not by libcurl
On Mon, Dec 16, 2019 at 6:17 PM Daniel Stenberg wrote:
>
> On Mon, 16 Dec 2019, Kunal Ekawde via curl-library wrote:
>
> > Connection re-use has been discussed earlier in some context but I wanted to
> > know more with respect to recent modifications.
>
> I don't think there have been any recent m
I have wriiten the code below to make a http2 request, but the debug info
showed me that it's http 1.1, would you please tell me why and how should I
amend it:
curl_global_init(CURL_GLOBAL_ALL);
CURL* easy_handle = curl_easy_init();
struct curl_slist* head = NULL;
char *form_data = "Content-Dispo
On Tue, 17 Dec 2019, peng xu via curl-library wrote:
I have wriiten the code below to make a http2 request, but the debug info
showed me that it's http 1.1, would you please tell me why and how should I
amend it:
Does your libcurl support HTTP/2 to begin with?
--
/ daniel.haxx.se | Get the
On Tue, 17 Dec 2019, peng xu via curl-library wrote:
curl_multi_setopt(easy_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
curl_multi_setopt() needs a *multi* handle in its first argument, not an easy
handle. This is therefore a very bad line of code.
You can only do multiplexing with th
On 12/17/2019 2:26 AM, Daniel Stenberg via curl-library wrote:
On Tue, 17 Dec 2019, peng xu via curl-library wrote:
I have wriiten the code below to make a http2 request, but the debug
info showed me that it's http 1.1, would you please tell me why and
how should I amend it:
Does your libcur