You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @hotrush 👋🏻
You're not allowed to use http plugin like you used in that example, because it'll lead to race conditions.
2. When you calling ServeHTTP directly, you're calling HTTP plugin w/o middleware.
I've updated the docs. If you wanted to use your custom middleware, just add it to the plugins list and use endpoint specified in the configuration to call your application with RR embedded in it.
No duplicates 🥲.
What happened?
Middlewares are not applied when running an embedded server as described here https://docs.roadrunner.dev/docs/customization/embedding
Plugin is loaded/initialized, but middlewares are not
Ref: #1214
P.S. there is also a mistake in docs,
rr.CurrentState()
method is not available anymoreVersion (rr --version)
2024.2.1
How to reproduce the issue?
and
Relevant log output
The text was updated successfully, but these errors were encountered: