Skip to content

Commit

Permalink
Fix bad http-proto and connection_id headers
Browse files Browse the repository at this point in the history
  • Loading branch information
rekby authored Jan 24, 2020
2 parents 264b098 + b82a504 commit bb341cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tlslistener/tlslistenershandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (p *ListenersHandler) registerConnection(conn net.Conn, tls bool) ContextCo
logger := p.logger.With(zap.String("connection_id", connectionUUID))
ctxStruct.ctx = context.WithValue(ctxStruct.ctx, contextlabel.TLSConnection, tls)
ctxStruct.ctx = context.WithValue(ctxStruct.ctx, contextlabel.ConnectionID, connectionUUID)
ctxStruct.ctx = zc.WithLogger(p.ctx, logger)
ctxStruct.ctx = zc.WithLogger(ctxStruct.ctx, logger)
p.connectionsContext[key] = ctxStruct
}

Expand Down

0 comments on commit bb341cb

Please sign in to comment.