Any thoughts on this? <https://discuss.kotlinlang....
# vertx
j
Any thoughts on this? https://discuss.kotlinlang.org/t/idiomatic-kotlin-code-vert-x/11038 guess there's no better way, but it bloated my code quiet a bit. First, I only had the last coroutineHandler, but I guess without specifying a request body-limit I'd open the doors to DOS attacks. That's why I wrote an Auth handler, then installed the BodyHandler, then doing inserts into the storage system. I want to accept very large files.
g
as far as I remember, the
BodyHandler
can be registered globally. Do you use any suspending code in the
Auth
class? Also, could you leave a comment about implementing a proper
coroutineHandler
at https://github.com/vert-x3/vertx-lang-kotlin/issues/91?