Merge pull request #453 from iamqizhao/master

Recv continuation frames correctly
This commit is contained in:
Qi Zhao 2015-11-19 09:37:42 -08:00
commit 2011d72ca3
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ func (t *http2Server) HandleStreams(handle func(*Stream)) {
endStream := frame.Header().Flags.Has(http2.FlagHeadersEndStream)
curStream = t.operateHeaders(hDec, curStream, frame, endStream, handle)
case *http2.ContinuationFrame:
curStream = t.operateHeaders(hDec, curStream, frame, false, handle)
curStream = t.operateHeaders(hDec, curStream, frame, frame.HeadersEnded(), handle)
case *http2.DataFrame:
t.handleData(frame)
case *http2.RSTStreamFrame: