Commit fe579d43 authored by zoncoen's avatar zoncoen Committed by Brad Fitzpatrick

http2: fix a typo

Change-Id: I7127c3d646042c92fbfbd45e75b08e9b3776d8e9
Reviewed-on: https://go-review.googlesource.com/c/163657Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 3a22650c
...@@ -643,7 +643,7 @@ func (f *Framer) WriteData(streamID uint32, endStream bool, data []byte) error { ...@@ -643,7 +643,7 @@ func (f *Framer) WriteData(streamID uint32, endStream bool, data []byte) error {
return f.WriteDataPadded(streamID, endStream, data, nil) 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. // If pad is nil, the padding bit is not sent.
// The length of pad must not exceed 255 bytes. // The length of pad must not exceed 255 bytes.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment