-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URI_TEMPLATE not set for pre-flight requests #189
Comments
My workaround for now is a micrometer |
Do you have an example that reproduces the issue? |
@luckyswede The URI_TEMPLATE is set before the filter, however the issue is that no route matches the OPTIONS request, therefore the uri template is not set because there is no route to get it from. |
Transferred this to micrometer because I don't think we can do anything about this in core. Perhaps a config option or something can be added to ignore OPTIONS |
@n0tl3ss related issue to the previous one |
Hi!
OPTIONS
-requests do not getURI_TEMPLATE
set which results in an ever growing list ofuri
tags forhttp.server.request
metrics and may cause OOM in the end for routes with dynamic path segments.The reason is that
URI_TEMPLATE
is set inRoutingInBoundHandler
which runs after theCorsFilter
.Micronaut 2.0.3
The text was updated successfully, but these errors were encountered: