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: http/2 confusion
Author
sailor



Joined: 17 Apr 2015
Posts: 82
Location: US

PostPosted: Fri 27 May '16 17:28    Post subject: http/2 confusion Reply with quote

I got it working, but it only works with ssl in 2.4.20. Is that the case?

In main server I have

Protocols h2 h2c http/1.1
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 27 May '16 18:32    Post subject: Re: http/2 confusion Reply with quote

sailor wrote:
I got it working, but it only works with ssl in 2.4.20.


The Protocols h2 h2c http/1.1 looks good.

It worked for me in 2.4.18.
Currently the only clients I know of that will speak http/2 over tcp (h2c) is curl and nghttp2 (does not build on windows).

Code:
C:\!svn.a.o>curl --http2 -I http://www.glsnet.net:88/
HTTP/1.1 101 Switching Protocols
Upgrade: h2c
Connection: Upgrade

HTTP/2.0 200
date:Fri, 27 May 2016 16:34:40 GMT
server:Apache/2.4.20 (Win64) LibreSSL/2.3.4 mod_log_rotate/1.00 mod_ip2location/7.0.1 mod_security2/2
.9.1 mod_fcgid/2.3.9 mod_h264_streaming/2.2.7 mod_uptime/0.2.0
x-served-by:Apollo
accept-ranges:bytes
content-length:28
content-type:text/html
Back to top
sailor



Joined: 17 Apr 2015
Posts: 82
Location: US

PostPosted: Fri 27 May '16 20:47    Post subject: Re: http/2 confusion Reply with quote

Thanks for the clarification.
Back to top


Reply to topic   Topic: http/2 confusion View previous topic :: View next topic
Post new topic   Forum Index -> Apache