aspnetcore/src/Antiforgery
Pranav K 78a587b02e
Guard against client disconnect exceptions that appear when reading body (#25146)
* Guard against client disconnect exceptions that appear when performing ReadFormAsync

Reading the request body may throw an exception. This change adds some extra guards
for this and presents this as a 4xx response rather than a 5xx response.

* Add some tests

* Fixup test
2020-08-25 09:29:50 -07:00
..
src Guard against client disconnect exceptions that appear when reading body (#25146) 2020-08-25 09:29:50 -07:00
test Guard against client disconnect exceptions that appear when reading body (#25146) 2020-08-25 09:29:50 -07:00
.vsconfig
Antiforgery.slnf
README.md
build.cmd
build.sh
startvs.cmd

README.md

Antiforgery

Antiforgery system for generating secure tokens to prevent Cross-Site Request Forgery attacks.

This project is part of ASP.NET Core. You can find documentation and getting started instructions for ASP.NET Core at the AspNetCore repo.