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:
ruslan%netscape.com
2000-04-05 05:08:40 +00:00
parent fdfe581345
commit d340140454

View File

@@ -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);
}
}
}