regarding `call.receiveParameters()`, it seems it ...
# ktor
m
regarding
call.receiveParameters()
, it seems it will fetch all parameters in the request. If a POST body is constructed with 5,000,000 params instead of the expected, say, 5 params, then can such requests cause degradation of request processing? How can I check if I received the exact number of params that I expect and also the exact names, before calling
receive
a
The default restriction is 1000 parameters to parse. To validate the parameters, you can receive them at once and check or check them as you read. To do the latter, you'd need to write the parser implementation.
m
Noted thank you