Skip to content

Commit

Permalink
transport: fix a typo in http2_server.go (#4745)
Browse files Browse the repository at this point in the history
  • Loading branch information
EinKrebs committed Sep 22, 2021
1 parent 606403d commit 1f12bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/transport/http2_server.go
Expand Up @@ -129,7 +129,7 @@ type http2Server struct {
// options from config.
//
// It returns a non-nil transport and a nil error on success. On failure, it
// returns a non-nil transport and a nil-error. For a special case where the
// returns a nil transport and a non-nil error. For a special case where the
// underlying conn gets closed before the client preface could be read, it
// returns a nil transport and a nil error.
func NewServerTransport(conn net.Conn, config *ServerConfig) (_ ServerTransport, err error) {
Expand Down

0 comments on commit 1f12bf4

Please sign in to comment.