Fix pipelining case when chunk encoding stream is pushed (pipelining is
not a default yet). git-svn-id: svn://10.0.0.236/trunk@65332 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -458,6 +458,12 @@ nsHTTPServerListener::OnDataAvailable(nsIChannel* channel,
|
||||
}
|
||||
|
||||
OnStartRequest (nsnull, nsnull);
|
||||
|
||||
PRUint32 streamLen = 0;
|
||||
i_pStream -> Available (&streamLen);
|
||||
|
||||
if (streamLen > 0)
|
||||
OnDataAvailable (channel, context, i_pStream, 0, streamLen);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user