Fix 50471, a=gagan,r=morse

This commit is contained in:
ruslan%netscape.com 2000-09-05 21:22:33 +00:00
parent fcedb74d37
commit bed1612d85

View File

@ -303,6 +303,9 @@ nsHTTPServerListener::OnDataAvailable(nsIChannel* channel,
while (!mHeadersDone)
{
if (i_Length == 0)
return NS_OK;
if (!mResponse)
{
mResponse = new nsHTTPResponse() ;