Update cmux to 0.1.4
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
e38e1e4473
commit
2b0320ec08
3 changed files with 8 additions and 2 deletions
5
vendor/github.com/soheilhy/cmux/matchers.go
generated
vendored
5
vendor/github.com/soheilhy/cmux/matchers.go
generated
vendored
|
@ -240,6 +240,11 @@ func matchHTTP2Field(w io.Writer, r io.Reader, name string, matches func(string)
|
|||
|
||||
switch f := f.(type) {
|
||||
case *http2.SettingsFrame:
|
||||
// Sender acknoweldged the SETTINGS frame. No need to write
|
||||
// SETTINGS again.
|
||||
if f.IsAck() {
|
||||
break
|
||||
}
|
||||
if err := framer.WriteSettings(); err != nil {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue