GitHub user syucream opened a pull request:
https://github.com/apache/trafficserver/pull/338
TS-3998: Disable h2c upgrades
https://issues.apache.org/jira/browse/TS-3998
Reject h2c token for now. after applying this patch, h2c upgrading is
handled as Invalid Upgrade Request.
```
$ nghttp -v -u http://127.0.0.1/
...
[ 0.001] HTTP Upgrade response
HTTP/1.1 400 Invalid Upgrade Request
Date: Sun, 15 Nov 2015 20:06:14 GMT
Connection: keep-alive
Server: ATS/6.1.0
Cache-Control: no-store
Content-Type: text/html
Content-Language: en
Content-Length: 220
...
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/syucream/trafficserver disable_h2c_upgrade
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/338.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #338
----
commit 26491816f47efa1bc9699c361c65a6857bd6bdaa
Author: Ryo Okubo <[email protected]>
Date: 2015-11-15T19:19:46Z
TS-3998: Disable h2c upgrades
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---