This commit is contained in:
yangzhouhan
2015-08-10 17:42:54 -07:00
parent 4074c45c3f
commit 676c10ae4d
3 changed files with 1 additions and 3 deletions

@ -298,7 +298,6 @@ func (t *http2Client) NewStream(ctx context.Context, callHdr *CallHdr) (_ *Strea
t.hEnc.WriteField(hpack.HeaderField{Name: k, Value: entry})
}
}
}
first := true
// Sends the headers in a single batch even when they span multiple frames.

@ -444,7 +444,6 @@ func (t *http2Server) WriteHeader(s *Stream, md metadata.MD) error {
t.hEnc.WriteField(hpack.HeaderField{Name: k, Value: entry})
}
}
if err := t.writeHeaders(s, t.hBuf, false); err != nil {
return err
}