Skip to content

Commit

Permalink
http2: write Transport bodies
Browse files Browse the repository at this point in the history
Some polish and testing remains, but this should be the bulk of the
Transport work that was remaining.

There's one notable (but easy) TODO about sending WINDOW_UPDATE frames
every few hundred MB or so, but this is a checkpoint.

Updates golang/go#6891

Change-Id: Iced9850804bf2c069c75118895ee7c3750ba31b5
Reviewed-on: https://go-review.googlesource.com/16310
Reviewed-by: Blake Mizerany <[email protected]>
  • Loading branch information
bradfitz committed Oct 27, 2015
1 parent b7f5d98 commit 09d2a41
Show file tree
Hide file tree
Showing 3 changed files with 543 additions and 118 deletions.
2 changes: 1 addition & 1 deletion http2/frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ func parseUnknownFrame(fh FrameHeader, p []byte) (Frame, error) {
// See http://http2.github.io/http2-spec/#rfc.section.6.9
type WindowUpdateFrame struct {
FrameHeader
Increment uint32
Increment uint32 // never read with high bit set
}

func parseWindowUpdateFrame(fh FrameHeader, p []byte) (Frame, error) {
Expand Down
Loading

0 comments on commit 09d2a41

Please sign in to comment.