Skip to content

Commit

Permalink
http2: fix a typo
Browse files Browse the repository at this point in the history
Change-Id: I7127c3d646042c92fbfbd45e75b08e9b3776d8e9
Reviewed-on: https://go-review.googlesource.com/c/163657
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
zoncoen authored and bradfitz committed Feb 25, 2019
1 parent 402fc1b commit 533bb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ func (f *Framer) WriteData(streamID uint32, endStream bool, data []byte) error {
return f.WriteDataPadded(streamID, endStream, data, nil)
}

// WriteData writes a DATA frame with optional padding.
// WriteDataPadded writes a DATA frame with optional padding.
//
// If pad is nil, the padding bit is not sent.
// The length of pad must not exceed 255 bytes.
Expand Down

0 comments on commit 533bb77

Please sign in to comment.