Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Not all request rejections are logged #1295

Closed
cesarblum opened this issue Jan 9, 2017 · 1 comment
Closed

Not all request rejections are logged #1295

cesarblum opened this issue Jan 9, 2017 · 1 comment
Assignees

Comments

@cesarblum
Copy link
Contributor

BadHttpRequestExceptions caught in

are not being logged except when logged before being thrown (such as when calling Frame.RejectRequest), even though the comment in the catch block indicates that should be the case.

This is the case for requests containing invalid characters in headers (see aspnet/Mvc#5662), where the BadHttpRequestException is thrown from MemoryPoolIterator.GetAsciiString. This should be refactored BTW.

@cesarblum cesarblum self-assigned this Jan 9, 2017
@cesarblum cesarblum added the bug label Jan 9, 2017
@cesarblum
Copy link
Contributor Author

@muratg Please triage.

cesarblum pushed a commit that referenced this issue Jan 9, 2017
cesarblum pushed a commit that referenced this issue Jan 9, 2017
cesarblum pushed a commit that referenced this issue Jan 10, 2017
@muratg muratg modified the milestones: 1.2.0, 2.0.0 Jan 12, 2017
cesarblum pushed a commit that referenced this issue Jan 27, 2017
cesarblum pushed a commit that referenced this issue Mar 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants