diff --git a/mozilla/netwerk/protocol/http/src/nsHTTPResponseListener.cpp b/mozilla/netwerk/protocol/http/src/nsHTTPResponseListener.cpp index 747736ed3b6..681c1a1753d 100644 --- a/mozilla/netwerk/protocol/http/src/nsHTTPResponseListener.cpp +++ b/mozilla/netwerk/protocol/http/src/nsHTTPResponseListener.cpp @@ -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); } } }