Skip to content

Commit

Permalink
frame: dont compress options frames (apache#1231)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zariel authored Oct 26, 2018
1 parent 271c061 commit 4f69018
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 @@ -1741,7 +1741,7 @@ func (w *writeOptionsFrame) writeFrame(framer *framer, streamID int) error {
}

func (f *framer) writeOptionsFrame(stream int, _ *writeOptionsFrame) error {
f.writeHeader(f.flags, opOptions, stream)
f.writeHeader(f.flags&^flagCompress, opOptions, stream)
return f.finishWrite()
}

Expand Down

0 comments on commit 4f69018

Please sign in to comment.