Skip to content

Commit

Permalink
all: fix typo on comments
Browse files Browse the repository at this point in the history
While at it wrap comments with long lines.
  • Loading branch information
shuLhan authored and erikdubbelboer committed Jan 30, 2019
1 parent 4c53f11 commit 2f22f20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion header.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ type RequestHeader struct {

rawHeaders []byte

// stores an immutable copy of headers as they were recieved from the wire.
// stores an immutable copy of headers as they were received from the
// wire.
rawHeadersCopy []byte
}

Expand Down
3 changes: 2 additions & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,8 @@ func (ctx *RequestCtx) TimeoutErrorWithResponse(resp *Response) {
ctx.timeoutResponse = respCopy
}

// NextProto adds nph to be processed when key is negotiated when TLS conection is established.
// NextProto adds nph to be processed when key is negotiated when TLS
// connection is established.
//
// This function can only be called before the server is started.
func (s *Server) NextProto(key string, nph ServeHandler) {
Expand Down

0 comments on commit 2f22f20

Please sign in to comment.