cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl and nghttp2

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 4 Oct 2014 01:07:40 +0200 (CEST)

On Sat, 4 Oct 2014, Bisera Milosheska wrote:

> I am trying to compare the page load times for HTTP and HTTP/2 over plain
> TCP and over TLS. I have managed to establish an HTTP/2 over TLS connection
> to a nghttpd server, but I do not manage to establish the other types of
> connections.

"the other types" being over plain TCP you mean?

> I get a result only with the following command:
>
> $ curl --http2 -k 'https://10.0.0.110:8080/index.html' -s -D - -o /dev/null

So what happens if you use a plain http:// URL then? Does the server support
upgrade to http2?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-04