[Mono-aspnet-list] HttpWebRequest Allocates Multiple Threads per Request
sean.reque at ni.com
Thu Jan 17 20:53:12 UTC 2013
I noticed today in a debugger session that performing a simple POST
request with HttpWebRequest allocates three new threads. Examining the
source code reveals that the synchronous methods GetRequestStream() and
GetResponseStream() use the asynchronous versions of themselves underneath
Allocating three threads per request is unacceptable for my application.
Is there any way to work around this so that making synchronous requests
does not allocate new threads?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-aspnet-list