Skip to content

Commit

Permalink
Merge pull request #232 from Comcast/feature/disableHTTP2
Browse files Browse the repository at this point in the history
Disable HTTP/2 due to internal streaming errors.
  • Loading branch information
johnabass authored Feb 15, 2018
2 parents 1b85f6c + 534c203 commit 41dd674
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/webpa.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ func (b *Basic) New(logger log.Logger, handler http.Handler) *http.Server {
MaxHeaderBytes: b.maxHeaderBytes(),
ErrorLog: NewErrorLog(b.Name, logger),
TLSConfig: tlsConfig,
TLSNextProto: map[string]func(*http.Server, *tls.Conn, http.Handler){}, // disable HTTP/2
}

if b.LogConnectionState {
Expand Down

0 comments on commit 41dd674

Please sign in to comment.