I tried to reuse Http connections setting KeepAlive but it simply doesnt work. I looked in the Http messages using Feedler and Charles but all I can see is Connection: close in response. I am sure I use HTTP 1.1 as it says so in the request.
I see 600 TCP connections in wait state opened by 10 threads. Each thread run one http request at a time.
There is also bunch of responses which say - the unauthenticated request. The service requires digest authentication. Why some requestes fail to be authenticated??
P.S. I just found this thread: http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/87bc7029-ce23-438a-a767-f7c32dcc63a7 and
I tried to set UnsafeAuthenticatedConnectionSharing = true but still my TCP connections are not reused.
void GetRest(string rest)
View Complete Post