[Mono-list] System.Net.HttpWebRequest using a System.IO.MemoryStream as a buffer
Robert Jordan
robertj at gmx.net
Fri Jan 27 09:45:37 UTC 2012
On 27.01.2012 02:33, Maurício Linhares wrote:
> And here is the code I'm using -> https://gist.github.com/1676771
Since you're use KeepAlive = true, HttpWebRequest must be able
to compute the Content-Length header value. It does it by using
a memory stream.
You may want to try this:
httpRequest.KeepAlive = false;
httpRequest.AllowWriteStreamBuffering = false;
Robert
More information about the Mono-list
mailing list