A
Alexander Oldemeier
Hello there,
I am using serveral HttpWebRequest classes at the same time to download the
content of web pages from one single web server in a multithreaded
application (c#, framework 1.1). Now I somtimes get the exception ". The
underlying connection was closed: The request was canceled". The exception
is raised before the timeout of GetResponse (I am using the synchronous
GetResponse) has elapsed. There is no inner exception and no further
information. The occurence is totally random, but the more parallel
downloads I run the more exceptions I get. I am not exceeding the default
thread pool. When I access the web resource via Internet Explorer while the
application downloads from the same server no problems occur (the problems
occur further in the application and I get the content arbitrary but IE
downloads it without problems). So I infer there's nothing wrong with the
connection or the network but something wrong in my application. Are there
any ressources about this error? Has anybody a hint? I don't know where to
look anymore.
Thanks for your help
Alex
I am using serveral HttpWebRequest classes at the same time to download the
content of web pages from one single web server in a multithreaded
application (c#, framework 1.1). Now I somtimes get the exception ". The
underlying connection was closed: The request was canceled". The exception
is raised before the timeout of GetResponse (I am using the synchronous
GetResponse) has elapsed. There is no inner exception and no further
information. The occurence is totally random, but the more parallel
downloads I run the more exceptions I get. I am not exceeding the default
thread pool. When I access the web resource via Internet Explorer while the
application downloads from the same server no problems occur (the problems
occur further in the application and I get the content arbitrary but IE
downloads it without problems). So I infer there's nothing wrong with the
connection or the network but something wrong in my application. Are there
any ressources about this error? Has anybody a hint? I don't know where to
look anymore.
Thanks for your help
Alex