Bug 58745 - H2Upgrade do not works
Summary: H2Upgrade do not works
Status: RESOLVED WONTFIX
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_http2 (show other bugs)
Version: 2.4.17
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-17 08:51 UTC by bugzilla77
Modified: 2015-12-17 12:16 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugzilla77 2015-12-17 08:51:41 UTC
Add:

H2Upgrade off

to httpd.conf



Headers:

Upgrade: h2,h2c
Connection: Upgrade

are still sending.
According to the specifications they should not.
Comment 1 Stefan Eissing 2015-12-17 12:16:52 UTC
The Upgrade: response header is calculated from your "Protocols" configuration.  The "H2Upgrade" setting is evaluated during an actual "Upgrade" requested by the client.

Two different places in the server. It's unfortunate that you can configure the server into such a state, but that is true for a lot of modules.

The way to solve your problem is to configure

  Protocols http/1.1

in the server/vhost where you do not want to allow upgrades to HTTP/2. In case you need help with this, please post your problem and configuration (apart from the secret stuff) on the users mailing list.

Thanks.