mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05:00
Merge pull request #2980 from moorereason/bugfix-ciphersuite-logging
v2: http: Fix ciphersuite logging
This commit is contained in:
commit
07ef4b0c7d
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ type LoggableTLSConnState tls.ConnectionState
|
||||||
func (t LoggableTLSConnState) MarshalLogObject(enc zapcore.ObjectEncoder) error {
|
func (t LoggableTLSConnState) MarshalLogObject(enc zapcore.ObjectEncoder) error {
|
||||||
enc.AddBool("resumed", t.DidResume)
|
enc.AddBool("resumed", t.DidResume)
|
||||||
enc.AddUint16("version", t.Version)
|
enc.AddUint16("version", t.Version)
|
||||||
enc.AddUint16("resumed", t.CipherSuite)
|
enc.AddUint16("ciphersuite", t.CipherSuite)
|
||||||
enc.AddString("proto", t.NegotiatedProtocol)
|
enc.AddString("proto", t.NegotiatedProtocol)
|
||||||
enc.AddBool("proto_mutual", t.NegotiatedProtocolIsMutual)
|
enc.AddBool("proto_mutual", t.NegotiatedProtocolIsMutual)
|
||||||
enc.AddString("server_name", t.ServerName)
|
enc.AddString("server_name", t.ServerName)
|
||||||
|
|
Loading…
Reference in a new issue