public override void Abort ()
{
- res.Flush ();
- res.Close ();
+ res.End ();
}
public override void Close ()
{
- res.Flush ();
- res.Close ();
+ // We must not close the response here, as everything is taking place in the
+ // HttpApplication's pipeline context and the output is sent to the client
+ // _after_ we leave this method. Closing the response here will stop any
+ // output from reaching the client.
}
public override void SetLength (long value)