diff --git a/connection.go b/connection.go index 10a36ba005e..d6cc886d941 100644 --- a/connection.go +++ b/connection.go @@ -673,6 +673,7 @@ func (s *connection) ConnectionState() ConnectionState { cs := s.cryptoStreamHandler.ConnectionState() s.connState.TLS = cs.ConnectionState s.connState.Used0RTT = cs.Used0RTT + s.connState.GSO = s.conn.capabilities().GSO return s.connState } diff --git a/interface.go b/interface.go index 8faf0eb8e27..746ad12e201 100644 --- a/interface.go +++ b/interface.go @@ -345,4 +345,6 @@ type ConnectionState struct { Used0RTT bool // Version is the QUIC version of the QUIC connection. Version VersionNumber + // GSO says if generic segmentation offload is used + GSO bool }