Kemal not closing request properly?
u89012 opened this issue · comments
I started building an app using Kemal and started noticing the page just keeps loading even though there's nothing in the controller logic that would cause it to behave that way. I tried isolating the issue but I've no idea what causes it. I'm doing some fairly regular stuff, pull some records from a sqlite table and render the rows using render ecr. Frustrated, I tried the same code using built-in HTTP Server Handler and it just works as expected, no more indefinite page loading. It looks to me the request isn't being properly closed -- can someone with more knowledge help? I really love Kemal and would rather not use the Handler style controllers.
Another observation -- missing pages seem to take a long time to load as well (the ones with Kemal doesn't know this way)
Kemal: 0.26.1
Crystal 0.35.1 (2020-06-19)
LLVM: 10.0.0
Default target: x86_64-apple-macosx
Could you show the minimal code that reproduces the problem?
Closing this as there's no way to reproduce