Skip to content

Commit

Permalink
Merge pull request quic-go#1938 from lucas-clemente/remove-unused-con…
Browse files Browse the repository at this point in the history
…nection-state

remove unused handshake.ConnectionState struct definition
  • Loading branch information
marten-seemann authored May 31, 2019
2 parents b1b85cc + 2f6ab5a commit 6899eb3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/handshake/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package handshake

import (
"crypto/tls"
"crypto/x509"
"io"

"github.com/lucas-clemente/quic-go/internal/protocol"
Expand Down Expand Up @@ -43,11 +42,3 @@ type CryptoSetup interface {
GetSealerWithEncryptionLevel(protocol.EncryptionLevel) (Sealer, error)
GetOpener(protocol.EncryptionLevel) (Opener, error)
}

// ConnectionState records basic details about the QUIC connection.
// Warning: This API should not be considered stable and might change soon.
type ConnectionState struct {
HandshakeComplete bool // handshake is complete
ServerName string // server name requested by client, if any (server side only)
PeerCertificates []*x509.Certificate // certificate chain presented by remote peer
}

0 comments on commit 6899eb3

Please sign in to comment.