https://bz.apache.org/bugzilla/show_bug.cgi?id=58437

            Bug ID: 58437
           Summary: mod_h2: h2c doesn't works using upgrade from http 1.1
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
          Assignee: [email protected]
          Reporter: [email protected]

I have downloaded the latest version of Apache 2.5-DEV from its repository.
Next, I have installed and compiled this version using the following script
(developed by me):
https://github.com/jgm1986/Apache_mod_h2/blob/master/apache.sh

On Apache "httpd.conf" file, I have uncommented the following module line:
LoadModule h2_module modules/mod_h2.so

And I have added these lines to my virtual host file:
    Protocols h2c http/1.1
    ProtocolsHonorOrder on

I have tested this Apache configuration using nghttp2 client (on localhost).
The most interesting is that I can use h2c on "direct mode" (this mode is only
for development purposes).
The problem occurs when I try to use HTTP/2 on clear mode (h2c) using "upgrade"
from HTTP/1.1. Apache continues using HTTP/1.1. These lines are the NGHTTP2
output:
---------------------------------------------------------------------------
src/nghttp -uvs http://127.0.0.1:80
[  0.000] Connected
[  0.000] HTTP Upgrade request
GET / HTTP/1.1
Host: 127.0.0.1
Connection: Upgrade, HTTP2-Settings
Upgrade: h2c
HTTP2-Settings: AAMAAABkAAQAAP__
Accept: */*
User-Agent: nghttp2/1.3.2


[  0.001] HTTP Upgrade response
HTTP/1.1 200 OK
---------------------------------------------------------------------------

Can someone help me to check if it could be an Apache 2.5-DEV bug?
Thanks.

PS: My computer uses:
Linux 3.16.0-49-generic #65~14.04.1-Ubuntu SMP Wed Sep 9 10:03:23 UTC 2015
x86_64 x86_64 x86_64 GNU/Linux

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to