[Mono-dev] HttpWebResponse ConnectStream blocks on empty stream
Gonzalo Paniagua Javier
gonzalo.mono at gmail.com
Tue Feb 3 22:45:29 EST 2009
On Tue, 2009-02-03 at 09:29 -0800, Arne Claassen wrote:
> I've been having a problem with HttpWebResponse locking up on
> GetResponseSream and BeingGetResponseStream never returning on
> responses that have no content-length header and no content. On .NET
> this will return immediately, but on mono (1.9.1, 2.0.1 and 2.02) the
> read will block only to be killed if the request itself has a timeout.
> A simple repro is to his a site, get it's Etag/LastModified and hit it
> again for the 304 response which should have no content. However
> getting that response stream still shouldn't lock up.
This issue has already been fixed. I don't know if it made it to 2.2,
but the fix will be for sure in the upcoming 2.4.
-Gonzalo
More information about the Mono-devel-list
mailing list