title: ..The underlying connection was closed: An unexpected error occurred on a receive
body: <p>I have the following code:</p>
  
  <pre><code>private Uri currentUri;
  
  private void Form1_Load(object sender, EventArgs e)
  {
      currentUri = new Uri(@"http://www.stackoverflow.com");
      HttpWebRequest myRequest = (HttpWebRequest) HttpWebRequest.Create("http://www.stackoverflow.com");
      WebProxy myProxy = new WebProxy("120.198.230.8:81");
      myRequest.Proxy = myProxy;
  
      HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse();
  
      webBrowser1.DocumentStream = myResponse.GetResponseStream();
  
      webBrowser1.Navigating += new WebBrowserNavigatingEventHandler(webBrowser1_Navigating);
  }
  
  void webBrowser1_Navigating(object sender, WebBrowserNavigatingEventArgs e)
  {
      if (e.Url.AbsolutePath != "blank")
      {
          currentUri = new Uri(currentUri, e.Url.AbsolutePath);
          HttpWebRequest myRequest = (HttpWebRequest)HttpWebRequest.Create(currentUri);
  
          HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse();
  
          webBrowser1.DocumentStream = myResponse.GetResponseStream();
          e.Cancel = true;
      }
  }
  </code></pre>
  
  <p>after compiling:</p>
  
  <blockquote>
    <p>error: An unhandled exception of type 'System.Net.WebException'
    occurred in System.dll</p>
    
    <p>Additional information: The underlying connection was closed: An
    unexpected error occurred on a receive.</p>
  </blockquote>
  
  <p>at line <code>HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse();</code></p>
  
  <p>Please help me.</p>