On Tue, Jan 8, 2019 at 3:45 PM Leif Hedstrom <zw...@apache.org> wrote:
> > On Jan 8, 2019, at 4:06 PM, Pushkar Pradhan <pprad...@oath.com.INVALID> 
> > wrote:
> >
> > Even RHEL7 sucks, they are also shipping with an old curl version that
> > doesn't support http1.1.
>
>
> I find that highly unlikely…
>
> [root@98291c1384a2 /]# cat /etc/redhat-release
> CentOS Linux release 7.6.1810 (Core)
> [root@98291c1384a2 /]# curl -D - -o /dev/null -s 
> https://docs.trafficserver.apache.org/en/latest/ | grep HTTP/
> HTTP/1.1 200 OK

I think the test is to add the "--http1.1", not that curl doesn't
support http 1.1. Mainly that is "needed" to avoid h2.
$ curl -D - -o /dev/null -s
https://docs.trafficserver.apache.org/en/latest/ --http1.1

If the curl version doesn't support --http1.1, it certainly doesn't
support http2 (at all). So, wonder if there could be a way to only use
that feature if its available?
miles

Reply via email to