Re: Bug in HttpWebRequest/Response Dispose() implementation?



"Vagif Abilov" <vagif@xxxxxxxxx> wrote:

We have a simple piece of code that exchanges data using HTTP
request/reponse. It uses "using" statement to guarantee that the
communication channel is properly closed on completion. However, if the code
is executed multiple times, the first execution attempt works fine, but the
second attempt times out.

To verify if the channel is closed properly, we replaced that code with the
following:

I'm not sure I understand - can you show us the code that didn't work,
rather than the code that did? :)

-- Barry

--
http://barrkel.blogspot.com/
.



Relevant Pages


Loading