I'd like to start working with the streaming feature in 2.5, but it does not appear to work right now if you are hosted in IIS and have Raven/HttpCompression set to true (default).
I'm using build 2544 on IIS 7.5, and I get this error returned by the server when attempting to make a stream request:
[ZLibException: The stream state of the underlying compression routine is inconsistent.]
System.IO.Compression.DeflaterZLib.Deflate(FlushCode flushCode) +8770476
System.IO.Compression.DeflaterZLib.ReadDeflateOutput(Byte[] outputBuffer, FlushCode flushCode, Int32& bytesRead) +159
System.IO.Compression.DeflaterZLib.System.IO.Compression.IDeflater.GetDeflateOutput(Byte[] outputBuffer) +64
System.IO.Compression.DeflateStream.WriteDeflaterOutput(Boolean isAsync) +72
System.IO.Compression.DeflateStream.Write(Byte[] array, Int32 offset, Int32 count) +79
System.IO.Compression.GZipStream.Write(Byte[] array, Int32 offset, Int32 count) +33
System.Web.HttpWriter.FilterIntegrated(Boolean finalFiltering, IIS7WorkerRequest wr) +546
System.Web.HttpResponse.UpdateNativeResponse(Boolean sendHeaders) +1018
System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async) +175
System.Web.HttpWriter.WriteFromStream(Byte[] data, Int32 offset, Int32 size) +160
System.IO.Compression.DeflateStream.PurgeBuffers(Boolean disposing) +164
System.IO.Compression.DeflateStream.Dispose(Boolean disposing) +34
System.IO.Stream.Close() +28
System.IO.Compression.GZipStream.Dispose(Boolean disposing) +63
System.IO.Stream.Close() +28
System.Web.HttpWriter.FilterIntegrated(Boolean finalFiltering, IIS7WorkerRequest wr) +12509279
System.Web.HttpResponse.FilterOutput() +121
System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +119
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165