logo       

It is safe to use Abort in HttpWebRequest?: msg#00106

windows.devel.dotnet.web

Subject: It is safe to use Abort in HttpWebRequest?

Hi

I know that is not a good practice to use Abort to kill a thread. But What
about in HttpwebRequest? It is safe?

Thanks in advance

-----Mensaje original-----
De: Discussion of building .NET applications targeted for the Web
[mailto:DOTNET-WEB@xxxxxxxxxxxxxxxxxxx] En nombre de Javier Martinez Álvarez
Enviado el: martes, 25 de enero de 2005 15:22
Para: DOTNET-WEB@xxxxxxxxxxxxxxxxxxx
Asunto: [DOTNET-WEB] How asp.net knows that my asynchronous handler
isfinished?

Hi



I have a class implementig IHttpAsyncHandler, the class start a asynchronous
in the method BeginProcessRequest, all works fine.



But I have a doubt:



How asp.net knows that my asynchronous request has finished? Is doing
polling over the IAsyncResult returned by BeginProcessRequest or is doing
something more smart?



If is doing pooling, which is the thread doing this operation? A thread of
ThreadPool, I suppose not, because in this case will the trhread will be
blocked until the operation finished.





Thanks in advance

Javier






===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise