[Mono-dev] Review of PR1354 - add Request.Abort()

Miguel de Icaza miguel at xamarin.com
Sat Oct 18 23:56:31 UTC 2014


Hey Martin,

Thanks for the patch;   The documentation describes that this has two
behaviors depending on the pipeline mode in use:

http://msdn.microsoft.com/en-us/library/system.web.httprequest.abort(v=vs.110).aspx

It might be good to find out if there are other things that this call
should do beyond closing the connection.  It seems like it was intended to
be used against a malicious HTTP client (which I have no information about
what they mean by this).



On Sat, Oct 18, 2014 at 5:40 PM, Martin Thwaites <monoforum at my2cents.co.uk>
wrote:

> Hi all,
>
> I've just submitted a pull to add Request.Abort() to the HttpRequest
> class.  It simply calls "CloseConnection" on the worker request so it's
> pretty simple.
>
> I'm not sure how to add a unit test for this so any help would be
> appreciated.
>
> This is for the work I'm doing on getting the aspnetwebstack working.
>
> https://github.com/mono/mono/pull/1354
>
> Thanks
> Martin
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141018/3ed05588/attachment-0001.html>


More information about the Mono-devel-list mailing list