Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
go-systemd
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
le
go-systemd
Commits
d736403b
Commit
d736403b
authored
8 years ago
by
Aaron Wood
Browse files
Options
Downloads
Patches
Plain Diff
activation: remove setting of NextProtos from tls config to take advantage of HTTP/2 where possible
parent
bc1f75b4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
activation/listeners.go
+0
-2
0 additions, 2 deletions
activation/listeners.go
with
0 additions
and
2 deletions
activation/listeners.go
+
0
−
2
View file @
d736403b
...
...
@@ -48,8 +48,6 @@ func TLSListeners(unsetEnv bool, tlsConfig *tls.Config) ([]net.Listener, error)
}
if
tlsConfig
!=
nil
&&
err
==
nil
{
tlsConfig
.
NextProtos
=
[]
string
{
"http/1.1"
}
for
i
,
l
:=
range
listeners
{
// Activate TLS only for TCP sockets
if
l
.
Addr
()
.
Network
()
==
"tcp"
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment