logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Is H2 really working? Browsers vs curl differ
Author
JosiahBradley



Joined: 14 Oct 2015
Posts: 2
Location: USA, Miami

PostPosted: Wed 14 Oct '15 17:33    Post subject: Is H2 really working? Browsers vs curl differ Reply with quote

Dear Community,

This is my first post and I'm happy to have found a place for apache sysadmins. I've been using HTTPD for awhile now and really enjoy the simplicity and power. Now onto my question:

I have enabled mod_http2 and it appears to be working for browsers. Firefox, Chrome, and Edge all report HTTP2 connections and the access log with %H says HTTP/2, however sites like h2check.org report no connection and curl -v --http2 reports a HTTP/1.1 connection. Am I doing something wrong or is this a bug with curl. My site is yoshi.io which just returns a line of text for now while under construction.

Running HTTPD 2.4.17 with mod_ssl mod_http2 on Amazon Linux compiled against openssl 1.0.2d. Thanks in advance!
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3047
Location: Hilversum, NL, EU

PostPosted: Wed 14 Oct '15 19:52    Post subject: Reply with quote

Curl works from here, try:

curl -v --http2 https://www.apachehaus.net


Yep, looks like h2check.org has an issue, I reported a few days ago to them, but no answer.
Back to top
JosiahBradley



Joined: 14 Oct 2015
Posts: 2
Location: USA, Miami

PostPosted: Wed 14 Oct '15 21:30    Post subject: Reply with quote

Thanks kindly for the quick responose. I'm very excited to see what I can do with HTTP2 now that it is supported. I'll report back on any cool things I come up with.
Back to top


Reply to topic   Topic: Is H2 really working? Browsers vs curl differ View previous topic :: View next topic
Post new topic   Forum Index -> Apache