Hey all, I'm wondering if there is a drop a connec...
# ktor
b
Hey all, I'm wondering if there is a drop a connection call for a malformed request on ktor server? Like complete drop, I don't even want to send a 404 response back. Is this possible?
j
I think there is a call.finish() or something, you can try to call that and see what happens
b
Tried that already before, but I then we just get a 404. I guess that is the default if there are no
call.respond*()
methods in the pipeline?
a
Yes, 404 is the fallback response status.
b
So is there no way around that then? The only bad way I avoided the 404 was with a long delay or infinite loop.
a
Could you please describe what root problem are you trying to solve?