I am doing a proxy-based ad blocker with C# as my degree project.

I am using mainly the HttpWebRequest & HttpWebResponse classes to perform HTTP redirection.

i wonder why i am getting ReceiveFailure errors quite often nowadays whenever i execute the GetResponse() method of HttpWebRequest, when dealing with images. consequently, the page is displayed with some missing images...

.. but when i test loading the page with a direct connection, everything is fine, and the page looks perfect.

previously, i was testing the same code with a dialup connection, and this problem rarely happens. but now, with my adsl connection, i am beginning to face this weird prob. i dun think adsl is the cause, nor dialup will fix the prob.

can anyone give me an idea on wut's happening, and how to solve this prob.