Skip to content

Commit

Permalink
Issue #32: HTTP2 support with latest Go
Browse files Browse the repository at this point in the history
Drop the hard coded next protocols for the TLS config
which defeats the auto configuration for both
HTTP and HTTP2
  • Loading branch information
magiconair committed Feb 7, 2016
1 parent 62e3b29 commit 35017de
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### [v1.0.9] - Unreleased

* [Issue #32](https://github.com/eBay/fabio/issues/32): HTTP2 support with latest Go
* [Issue #37](https://github.com/eBay/fabio/issues/37): Add support for consul ACL token to demo server

### [v1.0.8](https://github.com/eBay/fabio/releases/tag/v1.0.8) - 14 Jan 2015
Expand Down
1 change: 0 additions & 1 deletion listen.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ func newServer(l config.Listen, h http.Handler) (*http.Server, error) {
}

srv.TLSConfig = &tls.Config{
NextProtos: []string{"http/1.1"},
Certificates: []tls.Certificate{cert},
}

Expand Down
1 change: 0 additions & 1 deletion listen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func TestNewServer(t *testing.T) {
Addr: ":123",
Handler: h,
TLSConfig: &tls.Config{
NextProtos: []string{"http/1.1"},
Certificates: []tls.Certificate{cert},
},
},
Expand Down

0 comments on commit 35017de

Please sign in to comment.