Confirming middlewares executed serially

Hi everyone,

quick question -> it's my understanding if an IngressRoute is configured with 2..n middlewares, each middleware is executed serially based upon the following code which is executed at the end of each plugin ServeHTTP function as demonstrated in the demo plugin here

My only pause for thought is that I have logging from plugins 1 and 2 in one of my IngressRoutes where the log messages are interleaved.

Again, the code appears to confirm middlewares are executed serially as opposed to in parallel, but just wanna be sure I'm not missing anything.

Thanks, and thanks once again for great project.

--John

Middlewares are handled serially. If you start for example with ForwardAuth, it will be run, then Traefik will only continue if it is successful.

perfect, thanks! that's what I figured, but wanted to be sure, thanks for confirming.