https://kotlinlang.org logo
Title
m

Marko Kunic

12/24/2021, 11:36 AM
hello, in authentication plugin I need to access body payload to verify hmac hash, so I installed
DoubleReceive
plugin to be able to receive it in the controller as well, but I am still getting
RequestAlreadyConsumedException
, any ideas?
I have
receiveEntireContent
on true already
https://youtrack.jetbrains.com/issue/KTOR-2189 using
DoubleReceiveFixed
worked for me, anyone knows if this will be added to ktor directly?
a

Aleksei Tirman [JB]

12/24/2021, 2:24 PM
There are plans to fix it in Ktor but it will require thoughtful design for the DoubleReceive plugin https://youtrack.jetbrains.com/issue/KTOR-2631.
m

Marko Kunic

12/24/2021, 2:24 PM
thank you